Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Domain not working
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 compasmen.com I’m getting:
** server can’t find compasmen.com: NXDOMAIN
Could you please advise how to make it work?
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.×