How to link my subdomain to my droplet

October 1, 2019 144 views
DNS

Hi all,

I followed the tutorial to link a subdomain to my droplet and here is what I did :

From my domain provider, I removed all DNS entries and added the following NS (and no A):

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

From DO networking section, I added my subdomain, it automatically added the same above NS records and I added the following A:

my.subdomain.com -> xx.my.droplet.ip.xx

But 24 hours after that, nothing appears on dnschecker.org in A records … Any ideas ? What did I do wrong ?

2 Answers

Hello,

Have in mind that DNS changes might take up more than 24 hours due to DNS cache. If everything is done correctly you should see your domain name’s DNS propagation all over the world using this website - https://www.whatsmydns.net/

Let me know how it goes.

  • Yeah, actually it’s been more than 24hours …

    With this service I got absolutely nothing about A records but got half of locations responding on NS records .. Weird

Can you please double check that your domain name is actually using DigitalOcean’s nameservers? You can use the same website but instead of checking for the A record you can check for the NS or do a whois subdomain.com via the terminal

  • Whois returns nothing, but dns checking services returns that half the locations are okay, the other not

    • Can you double check this now, because another 8 hours have passed? As mentioned, DNS changes might take up to 24 hours in order to fully update.

      Let me know how it goes.

Have another answer? Share your knowledge.