Subdomains such as www not working with my app

I tried adding some subdomains such as www, staff, admin, etc but all of them do not work. I bought the domain name from godaddy and then added the digitalocean nameservers there to point the domain to my django app deployed in the App Platform but the app only opens when with domain I tried adding the CNAME as per tutorials correctly but when I type out the I get Error 1001. What should I do to make the subdomain work

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.

Bobby Iliev
Site Moderator
Site Moderator badge
January 3, 2023

Hi there,

On the Add Domain form, when you enter your custom domain name at the top of the form in the text area under Domain or Subdomain Name, and click to proceed, did you add both the non-www and the www versions of your domain?

Also, did you choose the ‘We manage your domain’ option on the next step for both the www and the non-www versions?



Try DigitalOcean for free

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

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

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

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
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