Pointing a domain at a new host is a five-minute job that can break your website and email for two days if you do it in the wrong order. The fix is not complicated — it is just two settings, changed in the right sequence — but every registrar hides those settings behind different menu names, and the one mistake almost everyone makes is changing nameservers before copying their existing DNS records. This guide walks through both methods, gives the exact clicks for GoDaddy, Namecheap, Porkbun, Cloudflare and Hostinger, and shows how to verify the change actually worked, using steps checked against registrar documentation in November 2026.
The short answer: two ways to point a domain at a host
Every domain points at its host through DNS, and there are exactly two ways to make the connection:
- Change the nameservers (the usual method). At your registrar, replace the domain's nameservers with the two (or more) your hosting provider gives you. Your host then answers every DNS question for the domain — website, email, subdomains, everything. This is what most hosts ask you to do, and it is the method this guide covers first.
- Keep your nameservers and edit an A record. Leave the nameservers where they are and change the root domain's A record (the one named
@) to your hosting server's IP address. Your current DNS provider keeps answering, and only the website traffic moves. This is the better choice when your email lives somewhere else and you do not want to touch it.
Neither method moves your registration. Your domain stays with its current registrar either way — you are only changing where DNS questions get answered. A nameserver change typically takes effect within a few hours for .com and .net, and up to 24–48 hours worldwide; an individual A-record change usually shows up in 30–60 minutes, though caches vary.
Nameservers vs A record: which method should you use?
Change nameservers | Edit the A record | |
|---|---|---|
What changes | All DNS control moves to your host | Only the website's IP address changes |
Email | Must be recreated at the new host — easy to break | Untouched, keeps working |
Setup effort | Paste two nameserver hostnames, save, done | Find the server IP, edit one record, add www |
Propagation | A few hours, up to 24–48 hours globally | Usually 30–60 minutes |
Best for | New sites, or when host and email move together | Live sites with email elsewhere (Google Workspace, Microsoft 365) |
Risk | Forgetting to copy MX/TXT records kills email | IP changes later mean another edit |
Reversible? | Yes — point the nameservers back | Yes — restore the old IP |
If your email runs through Google Workspace, Microsoft 365, or any provider separate from your host, use the A-record method unless you are prepared to recreate every MX and TXT record at the new host first. If the site is brand new and nothing else depends on the domain, the nameserver method is simpler.
Before you touch anything: the 10-minute checklist
Every nameserver horror story starts with skipping this step. Do it once and the rest is boring.
- Find your host's nameservers or server IP. Shared hosts publish them in the welcome email and the control panel: Namecheap shared hosting uses
dns1.namecheaphosting.comanddns2.namecheaphosting.com; Hostinger usesns1.dns-parking.comandns2.dns-parking.com. VPS and cloud hosts usually give you an IP address instead — that means the A-record method. Copy the values exactly; a typo here stops DNS resolving entirely. - Export or screenshot every existing DNS record. Open your current DNS zone and save a copy of all A, AAAA, CNAME, MX, TXT, SRV and CAA records. Changing nameservers wipes the old zone from the internet's point of view — the records are not carried over, and you will need them to recreate email and verification records at the new provider.
- Check whether DNSSEC is on. Look the domain up at lookup.icann.org — if 'Delegation Signed' says Signed, DNSSEC is enabled. Turn it off at your registrar (remove the DS record) before changing nameservers, then wait at least 24 hours — 48 if you can — before switching. Switching with DNSSEC still on can make the domain unreachable with SERVFAIL errors.
- Lower the TTL, a day ahead if you can. TTL is how long resolvers cache your records. Dropping it to 300 seconds (5 minutes) 24–48 hours before the move means the old values expire fast and the new ones spread sooner. Skip this on a brand-new domain — there is nothing cached yet.
- Add the domain at the new host first. In your hosting panel, add the domain as the main domain or an addon/parked domain before changing DNS. If the host has no zone for the domain when traffic arrives, visitors get an error page instead of your site.
Method 1: change the nameservers (step by step)
The mechanics are identical everywhere: log in to your registrar, open the domain's nameserver settings, replace the current entries with your host's, save. Only the menu names differ.
Registrar | Where to change nameservers | Notes |
|---|---|---|
GoDaddy | My Products → Domains → select domain → DNS → Nameservers tab → Change Nameservers → 'I'll use my own nameservers' | Domains with Domain Protection require a verification code before the change saves |
Namecheap | Domain List → Manage → Nameservers → Custom DNS → enter the host's nameservers → green checkmark to save | Choose 'Namecheap Web Hosting DNS' instead if the hosting is also at Namecheap; existing records are not carried over |
Porkbun | Domain Management → select domain → Nameservers → enter custom nameservers → save | Porkbun's own DNS stays available if you switch back |
Cloudflare (as registrar) | Cloudflare Registrar requires Cloudflare nameservers — you cannot point a Cloudflare-registered domain at another DNS provider | To use Cloudflare DNS with a domain registered elsewhere, add the site in Cloudflare and change nameservers at your registrar to the pair Cloudflare assigns |
Hostinger | Domains → select domain → Change (nameservers) → enter new nameservers → Save | Hostinger's own hosting uses ns1.dns-parking.com / ns2.dns-parking.com |
GoDaddy domain to Namecheap hosting (worked example)
This is the single most common combination, and it shows the full sequence. First, in Namecheap, open Hosting List → Shared Hosting → Manage, and copy the two nameservers from the Server Information section (typically dns1.namecheaphosting.com and dns2.namecheaphosting.com — verify against your own account, as the exact pair can vary by server). In Namecheap cPanel, add the domain so the hosting knows to answer for it. Then at GoDaddy: My Products → Domains → click the domain → DNS → Nameservers tab → Change Nameservers → 'I'll use my own nameservers' → paste the two Namecheap nameservers → save. The site starts resolving to Namecheap as propagation spreads, usually within a few hours for .com.
Pointing a domain at Cloudflare DNS
Cloudflare is a DNS provider, not just a registrar, and its setup is the same swap with one extra step. Add the domain in the Cloudflare dashboard (Domains → Onboard a domain), choose the Free plan, and let Cloudflare scan your current records. Audit the imported list against the export you made in the checklist — Cloudflare's importer routinely misses records added in the last day, internal subdomains, wildcards, and SRV records used by Microsoft 365 or Zoom. Add anything missing (except NS and SOA records, which Cloudflare sets itself), set records to 'DNS only' for now, then copy the two nameservers Cloudflare assigns to your domain — each domain gets its own pair, for example ada.ns.cloudflare.com and bob.ns.cloudflare.com — and paste them at your registrar, removing the old ones. Cloudflare checks automatically and flips the zone from Pending to Active, usually within a few hours and at most 24. Only after that should you turn DNSSEC back on in Cloudflare and add the new DS record at your registrar.
Method 2: point with an A record (and keep your email safe)
Use this when your email, verification records, or subdomains must stay exactly where they are.
- At your host, find the server's IPv4 address (shared hosting panels list it under Server Information; VPS providers show it on the server page). Add the domain at the host first, as in Method 1.
- At your registrar or current DNS provider, open the DNS zone editor. Edit the A record named
@(the root domain) and set its value to the server IP. - Check the
wwwentry. Either add a CNAME forwwwpointing to your root domain, or an A record forwwwwith the same IP — follow whichever your host recommends. A missing www record is the most common reason a site loads without www but fails with it. - Save and wait. Individual record changes usually propagate in 30–60 minutes, though some resolvers cache longer.
- If your host uses a CDN or proxy (Cloudflare's orange cloud, for example), it may ask for a CNAME instead of an A record — follow its instructions, and do not mix the two for the same hostname.
One warning: an A record points at an IP address, and shared-hosting IPs do change. If your host migrates your site to another server, the A record goes stale and the site goes down until you update it. Nameserver delegation does not have this failure mode, because the host updates its own records. If you use the A-record method, set a calendar reminder to confirm the IP every few months, or use it only while email stays elsewhere.
How long does pointing a domain take?
Change | Typical time | Maximum to allow |
|---|---|---|
Nameserver change, .com / .net | A few hours | 24–48 hours worldwide |
Nameserver change, other TLDs | A few hours | Up to 24 hours (Cloudflare's guidance) |
A / CNAME record change | 30–60 minutes | A few hours, depending on the old TTL |
Nameserver change with DNSSEC on | Do not do this — disable DNSSEC first | 24–48 hours after disabling, before switching |
Propagation is not one event — it is thousands of resolvers around the world expiring their cached copy at different times. That is why your site can load on your phone but not your laptop, or in one country but not another. The registry updates the delegation quickly; the wait is resolver caches honouring the old TTL. Our companion guide explains how long DNS propagation takes and how to test it in detail.
How to verify it actually worked
Do not trust a single browser refresh — browsers cache DNS too. Check from the outside:
- Nameservers:
dig +short NS yourdomain.com(Mac/Linux) ornslookup -type=ns yourdomain.com(Windows). The answer should be your new host's nameservers. Query a public resolver directly —dig NS yourdomain.com @1.1.1.1and@8.8.8.8— to see what the rest of the internet sees. - Website IP:
dig A yourdomain.com +shortshould return your host's server IP, anddig A www.yourdomain.com +shortshould return the same (or the CNAME target). - Email still alive:
dig MX yourdomain.com +shortshould still list your mail provider. If it returns nothing after a nameserver change, your MX records were not recreated at the new host — fix that before anything else. - Visual check: paste the domain into Nomlen's free DNS checker and into a global propagation checker to see results from resolvers worldwide. If most locations show the new values, you are done — the stragglers will catch up as their caches expire.
- Cloudflare users: the dashboard flips the zone to Active when its own monitor confirms the change, and sends a confirmation email.
The two traps that break sites (and email)
1. The email trap
Changing nameservers hands all DNS to the new host — including MX records, which tell the world where your email goes. If your email is at Google Workspace or Microsoft 365 and you switch nameservers without recreating the MX and TXT records at the new host, incoming mail starts bouncing immediately, often before you notice the website moved. The fix is the checklist: export first, recreate second, switch third. If email is already broken, recreate the MX records at the new DNS provider now — mail sent during the gap is usually lost, not queued.
2. The DNSSEC trap
DNSSEC signs your DNS records so resolvers can verify them. The signature chain starts at the registrar, where the DS record lives. If you change nameservers while the old DS record still points at the old provider's signatures, resolvers see records that fail validation and return SERVFAIL — the domain becomes unreachable everywhere, not just slow. Disable DNSSEC at the registrar, wait for the DS record's TTL to expire (at least 24 hours), and only then change nameservers. Re-enable it at the new provider afterwards.
Troubleshooting: when the domain still points at the old host
Symptom | Likely cause | Fix |
|---|---|---|
Site loads for you but not for others (or vice versa) | Resolver cache — different caches expire at different times | Wait out the old TTL; check with a global propagation checker |
'This site can't be reached' everywhere | Typo in a nameserver, or the domain was never added at the new host | Re-check the nameserver spelling at the registrar; add the domain in the hosting panel |
Site works without www, fails with www | Missing www record | Add a www CNAME or A record at the DNS provider |
Site works but email bounces | MX records not recreated after a nameserver change | Recreate MX (and SPF/DKIM TXT) records at the new DNS provider |
Domain unreachable everywhere after a nameserver change | DNSSEC still enabled with a stale DS record | Remove the DS record at the registrar and wait for its TTL to expire |
SSL error after the move | The new host has not issued a certificate for the domain yet | Wait for the host's auto-SSL (usually minutes to a few hours after DNS resolves); check with an SSL checker |
Change made 48+ hours ago, nothing updated | Registrar did not apply the change, or a transfer lock is interfering | Confirm the nameservers shown in the registrar panel and at lookup.icann.org; contact registrar support |
Pointing a domain, done right
The whole job is three moves in order: prepare (copy your records, check DNSSEC, add the domain at the host), switch (nameservers for a clean move, A record when email must stay put), and verify (dig, the MX check, and a global propagation checker). The preparation is what separates a five-minute change from a two-day outage — and it is the only part that cannot be undone after the fact, because the old zone disappears the moment the delegation changes. Do the checklist, paste the nameservers exactly, and confirm the MX records survived before you close the tab.
Frequently asked questions
How do I point my domain to a new host?
Log in to your registrar, open the domain's nameserver settings, and replace the current nameservers with the ones your new host provides — for example, Namecheap shared hosting uses dns1.namecheaphosting.com and dns2.namecheaphosting.com. Add the domain at the new host first, and allow a few hours to 48 hours for propagation.
Should I change nameservers or just the A record?
Change nameservers when the site is new or when hosting and email move together — it is simpler and self-maintaining. Edit the A record instead when your email lives elsewhere (Google Workspace, Microsoft 365) and you do not want to touch it, or when you need the change live within the hour.
How long does it take for a domain to point to a new host?
A nameserver change typically takes a few hours for .com and .net, and up to 24–48 hours worldwide as resolver caches expire. An A-record change usually shows in 30–60 minutes. Lowering the TTL to 300 seconds a day before the move speeds both up.
Will changing nameservers affect my email?
Yes, if you switch nameservers without recreating your MX and TXT records at the new DNS provider — incoming mail will bounce. Export your current DNS records before switching, recreate the MX records at the new host, or use the A-record method instead to leave email untouched.
Do I need to transfer my domain to change hosts?
No. Changing hosts only changes DNS; your registration stays with your current registrar. A domain transfer is a separate process that moves the registration itself and is subject to the 60-day transfer lock after registration or a previous transfer.
Why is my domain still showing the old website after I changed the nameservers?
Most likely resolver caching: the old nameserver values are still cached somewhere with their old TTL. Check with dig NS yourdomain.com @1.1.1.1 and a global propagation checker — if most locations show the new host, wait for the rest to catch up. If nothing has changed after 48 hours, verify the nameservers saved correctly at the registrar.
What is the difference between nameservers and DNS records?
Nameservers say who answers DNS questions for your domain; DNS records are the answers themselves (A records for the website IP, MX for email, TXT for verification). Changing nameservers moves all the answers to a new provider; editing a record changes one answer in place.
Can I point a domain to Cloudflare and keep my registrar?
Yes. Add the domain in Cloudflare, audit the imported records against your current zone, then change the nameservers at your registrar to the pair Cloudflare assigns. Your registration stays where it is — only DNS answering moves to Cloudflare. The one exception is domains registered with Cloudflare Registrar, which must use Cloudflare nameservers.




