Moving Web Hosts? Why You Must Update Your Name Servers (NS Records)
You just purchased a shiny new hosting plan for your WordPress site. You are excited to migrate. You copy your files, set up your database, and... your domain is still showing the old site.
Why? Because you forgot to tell the internet that you moved.
This is the job of the Name Server (NS) Record.
What is a Name Server? (The "Librarian")
Imagine your Domain Name is a library card.
Your Website is a specific book inside the library.
The Name Server is the Librarian. When a visitor walks in and asks for "findinfo.io," the Name Server is the person who points and says: "That book is on Shelf 3, Row 4."
If you move your book to a new shelf (new hosting) but don't tell the Librarian (Name Server), they will keep sending people to the empty shelf.
How NS Records Work
Unlike other records (like A or CNAME) which point to a specific IP address, NS Records point to a provider.
They usually look like this:
https://www.google.com/search?q=ns1.bluehost.comhttps://www.google.com/search?q=ns2.bluehost.com
This tells the internet: "I don't know the specific IP address, but ask Bluehost. They have the list."
The "Delegation" Power
When you update your Name Servers, you are "delegating" control.
If your domain is registered at GoDaddy, but you change the NS records to https://www.google.com/search?q=ns1.digitalocean.com, GoDaddy loses control of your DNS. You can no longer edit your A records or MX records inside GoDaddy; you must edit them inside DigitalOcean.
Common Mistake: Many beginners change their NS records and then wonder why their edits in the old dashboard aren't working. Always edit DNS where your Name Servers point!
When Should You Change Them?
You only need to touch NS records in two situations:
- Switching Hosting: You move from SiteGround to Hostinger.
- Using a firewall (CDN): You sign up for Cloudflare. They ask you to change your NS records to
https://www.google.com/search?q=dave.ns.cloudflare.comso they can filter your traffic for security.
Conclusion
Name Servers are the ultimate authority for your domain. They decide who holds the map to your website. If you are planning a migration, always update your NS records last—and remember, they can take up to 48 hours to propagate!
Where is your domain pointing right now?