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:
138.197.1.138 compasmen.com
But if I remove this line from my hosts file it stops working immediately. When trying to do nslookup compasmen.com I’m getting:
nslookup compasmen.com Server: 172.25.24.2 Address: 172.25.24.2#53
** server can’t find compasmen.com: NXDOMAIN
Could you please advise how to make it work?
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!
@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.
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 compasmen.com NS - I’m not getting any information at all.
Which registrar are you using?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.