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!
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/
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.