Domain not working

June 7, 2017 579 views
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:

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?

4 Answers

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 compasmen.com NS - I'm not getting any information at all.
Which registrar are you using?

I see that the domain was registered at reg.ru 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.

@petrovolexandr

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.

ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com

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

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

  • @petrovolexandr

    Doing a whois on the domain does show that you've set the DNS correctly, though when doing standard DNS lookups and running dig on the domain, nothing is being returned.

    Can you take a screenshot of the domain as it shows in the networking panel? As in, the list of DNS records for the domain via the DigitalOcean control panel? We can see if there's an issue there. If not, then it would appear that it may be an issue at the registrar themselves and I would recommend getting in touch with them to see if there's an issue on there end.

    I've registered domains with about 20 registrars over the last 10 years and I've honestly never ran in to an issue where, once set, the DNS isn't showing up when querying for it.

Have another answer? Share your knowledge.