By puck
Hey I have a very basic setup, have a simple website on app platform and added my domain to digital ocean using digital to manage it.
Have added the name servers to the provider and everything is working when I go to mysite.com.
Added a CNAME record with hostname ‘www’ and alias '@'and waited 12+ hours and all I’m getting is 1001 DNS error. Looked online for a while and it was suggested to add www.mysite.com as a separate domain under networking/domains. Tried that but no luck. Also I was not sure about the setup for the www.mysite.com domain. If it’s separate, do I still need the CNAME on the mysite.com domain? And does the www.mysite.com domain need any records other than the nameservers?
I swear I got this working for another site very easily last time so not sure why it’s such a pita this time. Can someone please tell me the correct setup for getting www.mysite.com to work?
Thank you!
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!
Accepted Answer
Hey, thanks for the replies! I found out there are two places where you can “add a domain” and the articles online are really unclear about which place to add it. So for anyone else looking: It’s NOT the one where you add domains to your project - it’s the one where you add to the specific app. So go to your app -> settings -> domains and add www.mysite.com to that. The mysite.com domain should also have a www CNAME record pointing to ‘@’ but I think adding the www.mysite.com domain to the app itself might automatically add the CNAME because after adding it my CNAME record changed slightly. Hope that helps anyone else confused.
Hi there,
The DNS changes can take up to 24 hours to fully propagate, so it might be just a matter of a bit more time.
But to fix the 1001 error, I think that you need to make sure www.mysite.com
is also added under your App Platform domain settings. That’s usually the missing piece.
If it still doesn’t work, best to reach out to support to double-check your setup: https://do.co/support
- Bobby
Heya,
Make sure that DigitalOcean manages your DNS or that you are making the changes where the DNS is managed. Also just to make sure, I think that you need to make sure www.mysite.com
is also added under your App Platform domain settings. That’s usually the missing piece.
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.