Skip to content
Free website migration on every plan, done by our team.Learn more ›
Domains

What are nameservers and how do you change them?

Nameservers decide where your domain's DNS is managed. Learn what they are, when to change them, how to update them and how long the change takes.

Short answer: Nameservers are the servers that hold your domain's DNS records, the instructions that tell the internet where your website and email live. Changing nameservers moves control of those records to another provider, usually your host. Updates can take a few hours, and sometimes up to 48 hours, to spread worldwide.

If DNS is the internet's address book, nameservers are the office that keeps your domain's page of it. Knowing which office is in charge saves hours of confusion when you move hosts or set up email.

What nameservers do

When someone types your domain, their computer asks the domain's nameservers for its DNS records. Those records say which server hosts the website (an A record), where email goes (MX records), how your email is authenticated (TXT records) and more. See DNS records explained.

Your registrar tells the registry which nameservers your domain uses. Those are the only place DNS changes have any effect. Edit records anywhere else and nothing happens, which is the single most common DNS mistake.

Nameservers vs DNS records

  • Changing nameservers moves all DNS management to a different provider.
  • Changing records keeps DNS where it is and only updates specific entries, such as pointing the website elsewhere while email stays put.

Which nameservers does my domain use?

Run your domain through our free DNS lookup and look at the NS records, or check the nameservers shown by a WHOIS lookup. They often reveal the company in charge, for example your host, your registrar or a service such as Cloudflare.

When to change nameservers

  • You bought a domain at one company and hosting at another, and want the host to manage everything.
  • You're moving to a new host and want its DNS to take over.
  • You're putting your site behind a service like Cloudflare. See Cloudflare setup.

How to change them

  1. Find your host's nameservers (they're in your welcome email or client portal).
  2. Log in to the account where your domain is registered.
  3. Open the domain's nameserver settings.
  4. Replace the old nameservers with the new ones and save.
  5. Wait for the change to spread. See DNS propagation.
  6. Check with the DNS lookup that the NS records show the new names.

The complete walkthrough, including the A-record alternative, is in how to connect a domain to hosting.

Before you switch

Copy any existing records you still need, especially MX and TXT records for email, and any verification records for Google, Microsoft or other services. If the new provider doesn't have them, email can stop working after the switch. If you're moving to AuroxHost, our free migration includes DNS.

Custom (private) nameservers

Agencies and resellers often use nameservers on their own domain, such as ns1.yourbrand.com, so clients see their brand rather than the host's. This needs "glue records" registered at the registrar, which link those names to IP addresses. Reseller plans with white-label DNS support this. See what is reseller hosting.

Frequently asked questions

How many nameservers do I need?

At least two, for redundancy. Your host gives you the exact names.

Will changing nameservers cause downtime?

Not if the new DNS has all the right records before you switch. Plan the change for a quiet time to be safe.

How can I check which nameservers my domain uses?

Use our DNS lookup and look at the NS records.

Why does my domain still show the old website after changing nameservers?

Your network is still using a cached answer. Wait a few hours, try mobile data, or flush your DNS cache. See DNS propagation.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.