Cover: How to Change Nameservers at Any Registrar
December 1, 2026·8 min read·1,815 words·

How to Change Nameservers at Any Registrar

How to change nameservers at GoDaddy, Namecheap, Cloudflare, Porkbun and Hostinger, plus the records to copy first so your email and website keep working.

You change nameservers at your domain registrar, the company you pay for the domain, not at your web host. You replace all the existing nameservers with the new set given to you by your host, email provider or Cloudflare. Before you touch anything, copy every DNS record from your old provider to the new one, because the moment the new nameservers take over, the old records stop counting. Most changes show up within a few hours; allow up to 24 to 48 hours to be safe.

What changing nameservers actually does (and how it differs from an A record change)

Every domain needs at least two nameservers. These determine where its DNS zone lives, according to GoDaddy's own nameserver documentation. Switch the nameservers, and you switch where you manage DNS. Point a domain at another company's nameservers, and the entire DNS zone file sits in that company's account, not yours. Hostinger explains it similarly: changing nameservers transfers DNS zone management to the new provider, meaning any future DNS edits must happen there, per Hostinger's nameserver guide.

Compare that with changing a single A record. It points one hostname, usually the root domain or www, at a new server IP, while the rest of the DNS zone stays untouched. A nameserver change moves the entire zone at once. Website records, email routing, every verification TXT record you have added: all of it shifts together. That is why a nameserver switch needs a checklist, not guesswork.

The before-you-switch checklist

Do this in order. Most broken switches come from skipping step 2.

  1. Confirm who your registrar actually is. Run a WHOIS lookup to find out, since you may have bought the domain through a website builder or reseller and need to change nameservers there instead, not at the registrar you assume. Use HostList's WHOIS lookup tool to check.
  2. Export or copy every existing record. That means A and AAAA records and CNAME records for the root and www, MX records for mail, and TXT records for SPF, DKIM (the _domainkey records) and DMARC (_dmarc), plus any verification TXT or CNAME records you've added for third-party services. Cloudflare's own setup guide lists these same mail records and warns that its automatic quick scan during setup is not guaranteed to catch everything, so review the results manually. Check your current mail setup with HostList's MX record lookup before you move anything.
  3. Recreate every record at the new DNS provider before you switch. Namecheap is blunt about this: when you switch between custom nameservers and Namecheap's own, host records are not added to the new nameservers automatically, so you need to save them and set them up manually, according to Namecheap's DNS change guide. Porkbun warns the same thing from the other direction: moving away from Porkbun nameservers usually breaks Porkbun-hosted services such as hosting and email unless the new DNS host is fully set up first.
  4. Turn off DNSSEC before you replace nameservers, if it's on. Cloudflare's documentation says changing nameservers while DNSSEC is active can make the domain unreachable entirely. Turn it off at the registrar first, then re-enable it at the new provider once the domain is active, per Cloudflare's setup guide.
  5. Lower your record TTLs ahead of time, if you can plan ahead. Shorter TTLs mean cached answers expire sooner. See HostList's guide to DNS TTL for how that works.
  6. Copy the new nameserver names exactly. Cloudflare is specific here: if the nameservers aren't copied exactly as given, DNS simply won't resolve. No typos, no extra characters, no guessing at the format.

How to change nameservers at GoDaddy

See HostList's GoDaddy registrar profile for a fuller comparison.

  1. Sign in and go to your Domain Portfolio.
  2. Select the domain to open Domain Settings.
  3. Select DNS, then Nameservers.
  4. Choose either "GoDaddy Nameservers (recommended)" or "I'll use my own nameservers" and enter the new ones.
  5. Select Save and Continue.

With Domain Protection active, GoDaddy asks for identity verification: either a 2-step verification code, or a one-time password sent by email if 2SV hasn't been enabled for 24 hours. Most DNS updates take effect within an hour, GoDaddy notes. Propagation can take up to 48 hours.

How to change nameservers at Namecheap

See HostList's Namecheap registrar profile for pricing and support details.

  1. Log in and open Domain List.
  2. Click Manage next to the domain.
  3. In the Nameservers section, pick an option from the drop-down and click the green checkmark to confirm.

Your options are Namecheap BasicDNS (dns1.registrar-servers.com and dns2.registrar-servers.com), Namecheap Web Hosting DNS (dns1.namecheaphosting.com and dns2.namecheaphosting.com), Custom DNS where you enter nameservers in ns1.example.tld format (hostnames only, never IP addresses), or paid PremiumDNS. Switching to Web Hosting DNS replaces custom records with its default hosting records, Namecheap notes, so check your requirements first. Updates can take up to 24 hours, occasionally longer, as ISPs refresh their resolver caches, per Namecheap's knowledgebase article. One registry rule matters here: on .CM domains, changing nameservers three times within 28 days triggers a registry lock for 28 days. Verify your entries before saving.

How to change nameservers with Cloudflare

See HostList's Cloudflare registrar profile.

For domains registered through Cloudflare Registrar, nameservers stay with Cloudflare. Every domain on Cloudflare Registrar uses Cloudflare's own nameservers, per Cloudflare's Registrar FAQ. Want external nameservers instead? You would need to transfer the domain to another registrar. You can still delegate subdomains elsewhere. Business and Enterprise plans support custom-branded nameserver hostnames backed by Cloudflare's infrastructure.

If you're moving a domain registered elsewhere onto Cloudflare's DNS instead, the process is:

  1. Add the site to Cloudflare, and it assigns two nameservers in the pattern <name>.ns.cloudflare.com.
  2. Go to your current registrar and replace the existing nameservers with the two Cloudflare gives you.
  3. Wait up to 24 hours, as Cloudflare advises. The domain will show as Active in your dashboard and you'll get an email confirming it's done, as set out in Cloudflare's full setup guide.

How to change nameservers at Porkbun

See HostList's Porkbun registrar profile.

  1. Log in to Domain Management and click Details next to the domain.
  2. Click the edit icon beside the Nameservers field.
  3. Remove all existing entries.
  4. Add the new nameservers, one per line.
  5. Click Save Nameservers, and confirm with Submit if prompted.

Porkbun pushes updates to the registry immediately. It advises allowing up to 48 hours worldwide, though most resolvers pick up the change within a few hours, per Porkbun's propagation guide. Still seeing old answers after 48 hours? Porkbun points to a likely configuration issue on the target nameservers, as detailed in Porkbun's nameserver change guide. Using vanity nameservers under the domain itself, like ns1.yourdomain.com? Configure glue records first, or resolution will not work.

How to change nameservers at Hostinger

See HostList's Hostinger registrar profile.

  1. In the Hostinger dashboard, click DNS in the left sidebar and select the domain, or click Manage from the domain list.
  2. Open the DNS / Nameservers tab.
  3. Click Change Nameservers.
  4. Keep Hostinger's nameservers, or choose Change Nameservers and enter up to four of your own.
  5. Click Save.

Hostinger advises allowing up to 24 hours, though propagation usually finishes within a few hours, according to its nameserver change guide. One easy detail to overlook: pointing a domain at Hostinger's nameservers automatically provisions DNS entries for Hostinger Email. Using another mail service? Update your MX records manually once propagation completes, so incoming messages reach the right destination.

How long nameserver changes actually take

Every registrar states its own figures. Treat these as outer limits, not guarantees.

RegistrarStated propagation time
GoDaddyMost within an hour, up to 48 hours
NamecheapUp to 24 hours, occasionally longer
CloudflareUp to 24 hours
PorkbunMost within a few hours, up to 48 hours worldwide
HostingerTypically a few hours, up to 24 hours

How to check your nameserver change actually worked

Skip your local browser cache. Query the NS record via HostList's DNS propagation checker, or test directly from a terminal with dig against public recursive resolvers:

dig ns example.com @1.1.1.1
dig ns example.com @8.8.8.8

Cloudflare's setup documentation recommends both commands to verify that nameserver changes have propagated. Test against both resolvers, since answers can vary while caches clear. Web-based propagation checkers often show cached results for a while after the change, so a mixed picture early on is not a failure.

Common mistakes when changing nameservers

Forgetting MX records. The website is what most people check after a switch, so missing MX, SPF, DKIM and DMARC records often go unnoticed until mail stops arriving. Copy them before you switch, not after.

Assuming records carry over automatically. Zones do not transfer on their own. Namecheap highlights this directly. Porkbun gives users pointing away from its nameservers the same reminder. If you have not created the record at your new DNS host, resolvers will not find it.

Leaving DNSSEC on during the switch. Cloudflare's documentation warns about this clearly. Changing nameservers with DNSSEC still active can make the whole domain unreachable, not just one service.

Mistyping the new nameservers. A single wrong character and DNS won't resolve at all. Copy and paste, don't retype from memory.

Switching right before a launch or a big send. Caches take time to expire, even with your zone copied accurately. Schedule the migration for a quiet weekday morning, not the eve of a product rollout or major email campaign.

If you need to confirm who currently hosts a domain, HostList's guide to finding out who hosts any website shows how to look it up.

Frequently asked questions

Do I change nameservers at my host or my registrar?

Always make the change at your domain registrar, the provider holding the registration. Your web host or email service gives you the nameserver hostnames to apply, but you save the changes inside your registrar control panel. Browse HostList's registrar directory if you need to identify your registrar.

What's the difference between changing nameservers and changing an A record?

An A record change directs a single hostname to a new IP address, while your DNS zone stays where it is. Nameserver updates delegate the whole zone, shifting authority for every record to a new DNS host. That is why moving nameservers means migrating all records beforehand.

Will changing nameservers break my email?

It will if the MX, SPF, DKIM and DMARC records are missing from the new zone, because once the new nameservers take over, the old records no longer count. Audit your active DNS setup using HostList's MX record lookup before making the switch.

How long does a nameserver change take to fully propagate?

The registrars quoted here say most changes show within an hour to a few hours, and they allow 24 to 48 hours for the change to reach everyone, as the table above shows. Monitor progress with a dig ns query against public resolvers, not a local browser holding cached data.

HostList on LinkedIn
More independent hosting data

Follow HostList for new rankings, original research, and changes across the hosting industry.

Gautam Khorana
Gautam Khorana
Founder, HostList.io

Over 10,000 websites launched. Years managing thousands of client sites. Built HostList because the world deserves honest hosting advice.

LinkedIn →

MENTIONED HOSTS

RELATED ARTICLES

Social AnimalFounder's agency214% more organic clicks after one rebuildOne client build holds LCP 1.1s, CLS 0.00 and PageSpeed 100, 18 months on. We build fast sites, then rank them.Book a 30-min call
Social AnimalFounder's agencyIs your site fast enough to rank?A London team offering Next.js and Astro builds with sub-second load times also provides a free scan covering Core Web Vitals, schema and crawl gaps.Scan my site free
Social AnimalFounder's agencyLeaving WordPress? Price the move firstEstimate a WordPress to Next.js or Astro migration in minutes. The fee is fixed, with no scope creep, and the work is senior-led.Price my migration
Social AnimalFounder's agencyGot a website brief? Reply in 48 hoursSend your RFP to a senior-led London agency with 200+ projects shipped. Fixed fee from the first call.Send my brief
.host domains from RadixSponsor.host: a domain that says what you doPremium .host names for hosting companies and infrastructure brands, from the Radix registry.See premium .host
RadixSponsorPremium names that work like prime real estate400,000+ short, memorable premium domains across .tech, .store, .online, .site and more. 20,000+ already sold.See Radix premiums
.tech domains from RadixSponsor.tech: the address for what you buildPremium .tech names like cloud.tech and micro.tech, from Radix. Short, dictionary-word domains for tech brands.See premium .tech
GreenGeeksSponsorEco-Friendly WordPress Hosting DealFast WordPress performance backed by expert 24/7 support, free migration, daily backups and built-in security.See GreenGeeks
HostPapaSponsorFast, Reliable, & Affordable Web HostingLaunch, grow and manage your website with reliable hosting, easy tools and 24/7 PapaSquad support.See HostPapa

Promoted placement. Does not affect HRI, ranking order or eligibility.