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