Mobile app version of vmapp.org
Login or Join
Alves908

: HostGator hosting account and DNS servers I have a hosting package on HostGator on domain example.com I also got a VPS server from Digital Ocean and have setup the DNS Details on the server

@Alves908

Posted in: #Dns #DnsServers #Hostgator #SharedHosting #WebHosting

I have a hosting package on HostGator on domain example.com

I also got a VPS server from Digital Ocean and have setup the DNS Details on the server there (A Record pointing on DO server IP with @ as hostname) and have also setup the DNS Servers on my domain DNS Settings which is hosted on HostGator.

All seem okay right now...

It's been 3-4 hours I think till I made these changes and when I point to example.com I still get on the active hosting package files instead of the server files.

Do I need to cancel the hosting package first before I can make this work?

EDIT: If I'm in the wrong site please move it to the correct one.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

2 Comments

Sorted by latest first Latest Oldest Best

 

@Sherry384

It can take anywhere from 2 to 48 hours for any changes to propagate out to all of the DNS servers. Sometimes longer but very rarely does it take more than 24 hours.

One way to know if your setup is correct, is to change the DNS servers on your client computer to use the DNS servers you setup for your domain name. You may need to clear your browser cache and make sure that you are able to resolve the host name.

nslookup example.com


Still, you may have to wait if you are using Windows. This is because there are in effect two resolvers. It can still take several hours for Windows to re-fetch the updated DNS data. If you still see your old data, this does not mean that something is wrong. Be patient and check again later.

If, say in about 4-6 hours (actually you can do this now if you want), you are still not able to see your changes, then on a Linux computer use dig (there may be a dig for Windows too).

dig +trace example.com any


This will trace through the DNS servers looking for a SOA (statement of authority) DNS server and return the results. If you do not see your changes, then you likely did not make them on the right set of DNS servers. This happens a lot! You will be able to see what domain hosts your SOA which may likely be your registrar. It is not uncommon that a SOA is relatively blank if the name server NS records points to another set of DNS servers. This is not uncommon. This is often the case where the host and registrar are two separate companies. You would then be able to check using:

dig @ns1 .hostingdomain.com example.com any


Please note that would be one of the domain names for the NS record. You can try both if you want, though this is often unnecessary.

This should get you what you want. Please let me know.

10% popularity Vote Up Vote Down


 

@Gretchen104

I had to wait 24 hours for a similar situation. DNS stuff can be slow to propagate. If the situation is not resolved by then, then there is a configuration issue or your DNS servers are down.

You don't need to remove the hosting package if your DNS servers are set properly at Hostgator (i.e., you are using the IPs of DigitalOcean for your domain name). If you have an A record or a CNAME record left at Hostgator, delete them to avoid possible conflicts in the future (best practice, not a requirement).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme