Site can't be reached; DNS error

I purchased a domain through GoDaddy and was going through the steps to host my site through Digital Ocean but am running into DNS issues after following the steps to host.

I followed this tutorial:

I updated the nameservers on GoDaddy over a month ago to point to ns1/2/ and created a new domain on Digital Ocean. But when I go to my domain, I just see an error saying “This site can’t be reached. <mydomain>'s server DNS address could not be found” (ERR_NAME_NOT_RESOLVED).

I’ve hosted another domain through DO and had no issues at all. Was curious if anyone might now something I’m overlooking here. Any help would be greatly appreciated!

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

If you are still facing this kind of error then try this:

  1. Go to DigitalOcean Dashboard > Networking > Domains
  2. Select any domain
  3. define A record with wildcard DNS record. Mention “*” (asterisk) as hostname and your droplet IP address.
  4. And for the safe side you can also add one more A record with “www” and your droplet IP address.
Enter Name Enter IP Address

Hope this helps. :)

were you ever able to solve this?

I am having this exact problem right now

My dns records were originally going through cloudflare but I am trying to switch them to digitaloceans

i am facing same problem.I my GoDaddy’s DNS file zone have previous two nameservers. (Informational) and (Informational)

should i delete it?