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.
Click below to sign up and get $200 of credit to try our products over 60 days!
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:
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.