🇩🇪 DE 🇬🇧 EN
NexoraHost / Docs home
Popular searches:Minecraft won't startCreate Minecraft serverFiveM txAdminInstall WordPressSet up subdomainVPS GermanySSL errorOpen port 25565Discord bot hostingDNS troubleshooting

Change & Configure Nameservers Correctly (Cloudflare, Hosting & Domains)

Quick answer: Nameservers determine which DNS server manages your domain. When you change nameservers, DNS control moves to the new provider – all existing records at the old provider are ignored until you recreate them at the new provider.

What are nameservers?

Nameservers (NS) are the authoritative DNS servers for your domain. When someone visits your domain, the DNS resolver asks which nameservers manage it and fetches records from there.

Important: Nameservers are set at your domain registrar (where you bought the domain), not in the hosting panel – unless registrar and hosting are the same.

Change nameservers – step by step

Change nameservers at domain registrar
Enter at least 2 nameservers. Then recreate DNS records at the new provider.
  1. Document DNS records – screenshot or export all current A, MX, TXT, CNAME records
  2. Note new nameservers – e.g. NexoraHost or Cloudflare NS
  3. Log in at registrar – domain management → nameservers / DNS
  4. Enter nameservers – remove old NS, add new NS (minimum 2)
  5. Save & wait – propagation 15 min to 48 hrs
  6. Create DNS records at new provider – recreate all records!
  7. Testdig NS yourdomain.com +short or whatsmydns.net

Verify nameservers

dig NS yourdomain.com +short
nslookup -type=NS yourdomain.com
dig yourdomain.com +short

Set up Cloudflare nameservers

  1. Add domain at cloudflare.com
  2. Cloudflare scans existing DNS records (verify!)
  3. Cloudflare shows 2 nameservers
  4. Enter these NS at registrar
  5. In Cloudflare: choose proxy mode (orange = CDN on, grey = DNS only)

Never proxy mail records! MX, SPF, DKIM always „DNS only“ (grey cloud).

→ Full guide: Cloudflare DNS guide

Common problems

Domain won't connect after NS change

Email broken after NS change

Cloudflare error 521/522/525

Related guides

Frequently asked questions (FAQ)

How long until nameserver changes take effect?
Typically 15–60 minutes. In extreme cases up to 48 hours. Check whatsmydns.net to see if new NS are visible worldwide.
What happens to my DNS records when changing nameservers?
They are not transferred automatically. You must recreate all A, MX, TXT, CNAME records at the new DNS provider. Document them first!
Can I use NexoraHost DNS and Cloudflare at the same time?
No – a domain has one authoritative nameserver set. Either NexoraHost NS or Cloudflare NS, not both simultaneously.
My domain shows a parking page after the switch – why?
The A record is missing at the new DNS provider or points to a default IP. Set A record to your server IP.

NexoraHost

Register a domain

Connect your domain to webspace, email or game server – unlimited DNS records.

nexorahost.com · Maincubes FRA01 · 1 Tbit/s DDoS · 99,9 % Uptime