Report this

What is the reason for this report?

App & Domain name

Posted on January 20, 2023

Hi, I’m currently on Heroku and I can’t disable default domain name in an app. It is possible to disable defaut domain name on a DigitalOcean app and put my custom domain ?



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.
0
Pinned Answer

Quick update here, App Platform now supports subdomain routing, which also allows you to disable an app’s starter domain. For setup instructions, see How to Manage Domains in App Platform.

Hi @Lukkyz,

You can add a custom domain to an app, see: How to Manage Domains in App Platform.

It is currently not possible to disable the default assigned hostname however you can add a check in your app code to redirect requests to your custom domain.

Hi @lukkyz,

In a way, yes. As Heroku at this time, you can’t disable the default domain name in your app however you can create a rule to redirect all requests to a domain specified by you. By default, your app will be given a sub-domain on ondigitalocean.app. You can also register a custom domain.

More about that here:

https://docs.digitalocean.com/products/app-platform/how-to/manage-domains/

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.