Question

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: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean

I updated the nameservers on GoDaddy over a month ago to point to ns1/2/3.digitalocean.com 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!

Subscribe
Share

It does sound like there is an issue with your domain’s configuration. If you can share the domain name you’re having trouble with we can most likely find the issue pretty quickly.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

  1. Go to DigitalOcean Dashboard > Networking > Domains https://cloud.digitalocean.com/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. :)

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

  1. Go to DigitalOcean Dashboard > Networking > Domains https://cloud.digitalocean.com/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. ns71.domaincontrol.com (Informational) and ns72.domaincontrol.com (Informational)

should i delete it?

Hello,

What sort of errors are you running into? Looking at your zone file, everything looks correct but I am seeing SERVFAIL errors when I query your domain against google:

% dig sfwithlove.co

; <<>> DiG 9.10.1-P1 <<>> sfwithlove.co ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 14564 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;sfwithlove.co. IN A

;; Query time: 62 msec ;; SERVER: 2001:4860:4860::8844#53(2001:4860:4860::8844) ;; WHEN: Wed Mar 30 12:19:17 UTC 2016 ;; MSG SIZE rcvd: 42

% dig www.sfwithlove.co

; <<>> DiG 9.10.1-P1 <<>> www.sfwithlove.co ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 10977 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;www.sfwithlove.co. IN A

;; Query time: 120 msec ;; SERVER: 2001:4860:4860::8844#53(2001:4860:4860::8844) ;; WHEN: Wed Mar 30 12:20:50 UTC 2016 ;; MSG SIZE rcvd: 46

But the DigitalOcean name servers are able to properly resolve your domain:

% dig www.sfwithlove.co @ns1.digitalocean.com +short sfwithlove.co. 159.203.230.117 % dig www.sfwithlove.co @ns2.digitalocean.com +short sfwithlove.co. 159.203.230.117 % dig www.sfwithlove.co @ns3.digitalocean.com +short sfwithlove.co. 159.203.230.117

Please let us know if there is anything else we can help you with.

Best, Mike DigitalOcean Support Check out our community for great tutorials, articles and FAQs! https://digitalocean.com/community

Short and Simple Video of DNS address problem with alternate solutions, do watch https://www.youtube.com/watch?v=tOfKSLKecJg

Hello,

Do you see your domain able to resolve all the way down when you run:

dig <host> +trace

What does your zone file look like?

Please let us know if there is anything else we can help you with.

Best, Mike DigitalOcean Support Check out our community for great tutorials, articles and FAQs! https://digitalocean.com/community