Question

How to add new domain to DO app via API

Hi Team,

I’m trying to find a way to add my domain/subdomain to my DO application ( not droplet), But I can’t find any documentations for that.

Second question: What is the limit of domains for a DO app ? can I increase it to unlimited ?

Thank you very much.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

Thanks for reaching out! There isn’t an option to add Domains to App Platform via API. This can be done from the Cloud Control Panel. The API documentation provides details for adding a domain to a Droplet. https://docs.digitalocean.com/reference/api/api-reference/#operation/create_domain

Regarding limits on domains for App Platform, New DO accounts have a 10 domain limit, though once the account is verified that limit is increased to 512, and can be increased more by support if required.

If you run into any issues submit a ticket and our support team can take care of it.

Hope this helps!

Cheers, Lalitha