Error guide / Domain not resolving after NS change
How to fix a domain that does not resolve after an NS change or migration
After you change NS servers or move to a new host, the domain may not load for a while because DNS propagation is still under way: providers' caches still hold the old DNS data, and the new data spreads gradually. Propagation takes anywhere from a few minutes to 24-48 hours. If a full day has passed and the site still does not resolve, some record got lost along the way.
Check your site
What causes it
Usually the migration is unfinished: the NS were changed, but the new host has no DNS zone with an A record yet, or the A record still points to the old IP. Less often the registrar is at fault, because the new NS were saved with a typo or never applied.
How to fix it
- Check in WHOIS which NS servers the domain uses right now. They should be the new ones, not the old.
- On the new host, make sure the DNS zone exists and its A record points to the current server IP. If it still shows the old server's IP, correct it. In cPanel this is done in the Zone Editor.
- Give propagation time: usually up to 24 hours, sometimes 48. You cannot speed it up from your side.
- Flush your own DNS cache (ipconfig /flushdns) so your computer does not keep showing you the old address.
- Run the domain through the tool below: it shows the current NS and where the name resolves now.