Report this

What is the reason for this report?

Does digital oceans droplet not use their Nameservers?

Posted on February 6, 2019

My problem is I created a mysql droplet and added a domain to it. No problem there. I can reach it from my home computer url for the mysql droplet is like mysql.test123.com. Next thing I did, was creating an asp.net Web API and deployed it with in memory database. Neither a problem. Now I tried to make the api use my mysql database via the url mysql.test123.com. And there is the problem it can’t reach the host. Next thing is I tried to ping the ip. worked like a charm. Tried to ping mysql.test123.com - unknown host. I can’t even ping my own domain

So any pointers to solutions?



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!

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.
0

Hi

Some plausible issues:

  1. Local DNS resolution isn’t configured (resolvers not setup). Does ping google.com work? If not, this is the issue here. Check out this article on how to fix that:

https://www.techrepublic.com/article/how-to-set-dns-nameservers-in-ubuntu-server-18-04/

  1. Your domain DNS isn’t functional yet. This is likely an issue if you just bought this domain recently and name servers haven’t had a chance to settle in. Not much you can do here besides waiting for DNS propagation.

Cheers

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.