Question

Custom domain name from GoDaddy with DO Apps

I created two simple Python apps from the docs.

I try this https://github.com/digitalocean/sample-flask And even more simple solution - https://github.com/digitalocean/sample-python

And when I try to reach them through generated domain like this - example.ondigitalocean.app/ everything working fine.

But when I try to add domain - https://example.com I get ERR_CONNECTION_CLOSED.

The main problem is that there is no information in https://docs.digitalocean.com/products/networking/dns/how-to/add-domains what I need to change, or add.

Should it run out of the box with custom https domain?


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.

KFSys
Site Moderator
Site Moderator badge
June 19, 2023

Hey @donprusne,

I’ll recommend checking the following article:

https://docs.digitalocean.com/products/app-platform/how-to/manage-domains/#:~:text=Go to https%3A%2F%2Fcloud,Name%2C then click to proceed.

Add a Custom Domain Using the Control Panel

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 are 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.

If you decide to use DigitalOcean’s nameservers, copy and paste DigitalOcean’s nameservers (ns1.digitalocean.com, ns2.digitalocean.com, ns3.digitalocean.com) to your domain’s registrar nameserver records. See our Community tutorial on how to delegate your domain to DigitalOcean’s nameservers from popular registrars.

DNS changes can take up to 72 hours to propagate across the internet. You can check the progress of the transfer in App Platform’s dashboard.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel