Question
How to point GoDaddy Domains to DigitalOcean (year 2020)
Hi,
I have a domain name from GoDaddy and want to host my website on DigitalOcean. I followed instructions such as “What should my DNS be” and the default instruction “How To Point to DigitalOcean Nameservers”. Both instructions are great but outdated as GoDaddy does not let you add a custom DNS as instructed in these guides. Instead I have to change the default godaddy’s dns and I need to provide at least two individual DNS and I must assign their IPs:
DNS | IP |
---|---|
ns1.digitalocean.com | 173.245.58.51 |
ns2.digitalocean.com | 173.245.59.41 |
ns3.digitalocean.com | 198.41.222.173 |
and the output of $ whois example.com
shows that the dns is set right.
Name Server: ns1.digitalocean.com
Name Server: ns2.digitalocean.com
Name Server: ns3.digitalocean.com
Even though I have defined A and CNAME as @ and www respectively, when I ping the example.com I get nothing except:
$ ping example.com
ping: example.com: Name or service not known
Can anyone know the reason and check what I’ve missed?
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.
×
Hello unitydigital can you explain how you changed the default dns nameserver? I’ve got the same problem with a fr domain. The tutorials are outdated…