I am a new user of digital ocean and using App Platform I was able to add upto 3 free static sites in my App Platform but I wanted to know how can I assign sub domain name for each static site
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
To add a domain name to your static site deployed on the App Platform, go to https://cloud.digitalocean.com/apps, click on your app, and click on the Settings tab. Then, click the Edit link to the right of Domains, and the Add Domain button.
On the Add Domain form, enter your custom domain name at the top of the form in the text area under Domain or Subdomain Name, then click to proceed.
You will be given a choice to delegate your DNS management to DigitalOcean or to point to your app by adding a CNAME record to your domain configuration. You can follow the steps on how to configure your DNS records here:
Let me know if you have any questions!