Domain not working

  • Posted June 7, 2017
  • DNS

HI, I have changed the name servers on the name registrar to the digitalocean’s nameservers.

I have set up an A record in the control panel using @ directing to the droplet but this doesn’t work. It has been over 24 hours.

The website on droplet is up and running and works perfectly fine if I add the following line to my /etc/hosts file:

But if I remove this line from my hosts file it stops working immediately. When trying to do nslookup I’m getting:

nslookup Server: Address:

** server can’t find NXDOMAIN

Could you please advise how to make it work?


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.

what about setting an A up for https?

@jtittle I double and triple checked the name servers at my domain registars as well as domain settings in networking section on digitalocean. Everything looks right, and yet it doesn’t work.


On my end, I’m not seeing any active DNS set for the domain, or valid A/CNAME entries.

Even if the physical entries (A/CNAME) were not showing up just yet, the name servers should when doing query. My guess is that the name servers didn’t take or there was another type of error during the submission at your registrar.

I would double check to ensure that you’re using the following as name servers at your domain registrar.

… as well as valid DNS for the domain once setup through the DigitalOcean control panel.

I see that the domain was registered at in February and whois looks fine.

Some Whois/DNS updates take more than 24 hours, but not more than 48 hours. If 48 hours goes by, contact Support regarding your DNS entries.

As a side note, it helps to also add the ‘www’ A record to be thorough.

Hi @petrovolexandr

It seems like your domain is inactive/deactivated. When I search the WhoIs register, your domain says it’s using the three DigitalOcean name servers. But when I look up DNS details for your domain - dig NS - I’m not getting any information at all. Which registrar are you using?