How to Point a Domain to Your Hosting (Nameservers vs DNS Records)
Last updated: November 12, 2026 · Steps checked against Cloudflare Docs, Kinsta Docs, and WP Engine Support (sources at the bottom)
We may earn a commission if you buy through links here — it never changes our picks.
You bought a domain in one place and hosting in another, and now the two have to meet. Pointing the domain connects them: you update the internet's address book so a browser that asks for your domain is sent to your host's servers. There are exactly two ways to do it. You can change the domain's nameservers at your registrar, which hands the whole address book to a new keeper. Or you can leave the address book where it is and add the few records your host gives you. Both end with your site loading on your domain. They differ in what else moves, and that difference is where the one real danger lives: business email. This guide explains both routes in plain words, walks through each, and shows the email check to run before and after any nameserver change. You need access to your registrar account and your DNS settings, plus the values your host gives you.
Two jobs: the domain and the hosting
A domain name and a website are separate purchases that beginners understandably merge into one. Your registrar is the company you pay to keep the domain registered in your name. Your host is the company whose servers store your site's files and serve them to visitors. Neither job includes the other: some registrars sell no hosting at all, and some hosts, WP Engine among them, sell no domains. A third service sits between them and connects the two.
That service is DNS, short for Domain Name System, the internet's address book. When someone types your domain, their browser asks DNS which server answers for it, and goes to the address it receives. The answers live in a list of DNS records kept by one provider, your DNS host. Your nameservers tell the world who that provider is: Cloudflare describes them as specialized servers that store your domain's records and answer requests with the address a browser needs. Your DNS host may be your registrar, your web host, or a separate service such as Cloudflare.
So pointing always comes down to one question: move the whole address book to a new keeper, or edit a few entries where it already lives?
The two routes, side by side
Route 1, the nameserver change, replaces the nameservers listed at your registrar with the new DNS host's. From then on, that provider's copy of your records is the only one the internet reads. Route 2, the records route, changes nothing about who keeps the book. You add or edit the website records, and everything else in the book stays exactly as it was.
| Route 1: Change nameservers | Route 2: Add records | |
|---|---|---|
| What you edit | The nameserver fields at your registrar | A and CNAME records at your current DNS host |
| What moves | Every record: website, email, and verification records all answer from the new DNS host | Only the records you touch, normally just the website's |
| Effect on email | Your email records must exist at the new DNS host before the switch takes hold, or mail breaks | Email records are untouched and keep working |
| Typical wait | Up to 24 hours while the registrar change spreads | Usually minutes to a few hours, set by the records' own timers |
| Pick it when | A provider requires its nameservers, or you deliberately want DNS at the new provider | Your host hands you an IP address or a hostname, which most hosts do, and your email already works |
One point the table cannot show: a nameserver change does not move your domain registration, which stays at the same registrar on the same renewal date. Moving a registration is a separate job called a transfer, and nothing here does it. Your website's files do not move either. Pointing changes only the directions.
Let the host's instructions decide
- Your host gave you an IP address or a hostname to point to: Route 2. This covers most hosts, most of the time.
- A provider gave you two nameserver addresses and told you to use them: Route 1, with the preparation below.
- Both are offered: Route 2, if your domain receives business email.
Some hosts offer no choice: WP Engine has no nameservers of its own to point to, and its support documentation covers pointing by records only.
Before you touch anything: save what exists
Either route goes better with a written copy of the present setup, and on Route 1 it is what stands between you and a broken mailbox. Ten minutes of copying, before any editing.
Find out who your DNS host is
Look at the nameservers listed in your registrar account. The company those names belong to is where your records live, and where Route 2 edits happen. If you do not know your registrar, Cloudflare's setup guide points to ICANN Lookup, which names it.
Copy the full record list somewhere safe
Open the records page at your DNS host and save every row, type, name, and value: screenshots work, and some hosts offer an export. Pay named attention to the email set: the MX records, which say which servers receive your domain's email, and the TXT records that begin v=spf1 or v=DKIM1 or sit at the name _dmarc. Those are the records a nameserver change can strand. Our guide to setting up SPF, DKIM, and DMARC explains what each one does.
Lower the timers on records you are about to change
Every record carries a TTL, short for Time to Live: how long other servers may keep a copied answer before asking again. Cloudflare's TTL reference states the trade plainly: longer TTLs speed up lookups, but updates take longer to go into effect. If a record you plan to change sits at a full day, lower it to 300 seconds a day before the switch, so the old answer expires quickly when the day comes.
Get your exact values from the host itself
Hosts publish your values once you add the domain in their dashboard: Kinsta shows the exact records to add for your site, and WP Engine puts yours behind a View DNS Details option. Copy them from there, character for character. Kinsta warns its values are unique to your site, generated as you add the domain: an IP address copied from a tutorial belongs to someone else's site.
You should now have: the name of your DNS host, a saved copy of every current record with the email set identified, and the exact values your host gave you.
Route 1: Change the nameservers at your registrar
Use this route when a provider hands you two nameserver addresses and asks you to put them on the domain, most often because you are moving DNS itself, as with Cloudflare. The pattern below follows Cloudflare's published full-setup steps; the shape is the same whichever provider receives your DNS.
Build the new address book first
At the new DNS host, add your domain and let it scan for your existing records if it offers. Then compare what it found against the list you saved, record by record: Cloudflare warns that its quick scan is not guaranteed to find all existing records. Check the website record for the bare domain, the www record, and the whole email set by name: MX, SPF, DKIM, and DMARC. Anything missing stops working the moment the switch takes hold, so add missing records by hand now, while the old host still answers.
Turn off DNSSEC at the registrar, if it is on
Cloudflare's instruction is direct: if DNSSEC is active on your domain, turn it off at your registrar before replacing nameservers. DNSSEC signs DNS answers to prove they were not tampered with, and changing nameservers while it is active can cause your domain to become unreachable. It can be turned back on at the new host once the domain is active there.
Replace the nameservers at your registrar
Sign in to the registrar's admin account, open the domain, and find its nameserver settings. The labels vary, but Nameservers, DNS Management, and Custom nameservers all mean the same fields. Remove the existing authoritative nameservers and add the new ones exactly as the new DNS host gave them. Cloudflare's warning is blunt: if the names are not copied exactly, your DNS will not resolve correctly.
Wait, confirm, then run the email check
Cloudflare tells new users to wait up to 24 hours while the registrar updates the nameservers. Confirmation comes from the new host: the domain shows as Active, and lookup tools begin returning the new nameserver names, though they may lag on cached results. Only then run the email check from the warning box below.
You should now have: your registrar listing the new nameservers, and the new DNS host answering for your domain with a complete copy of your records.
The email warning: a nameserver change can silently break business email
This failure is silent: the website usually comes up fine, so nothing looks wrong while mail to your domain starts bouncing or landing in spam. The cause is simple. Incoming email follows the MX records in your address book, and the SPF, DKIM, and DMARC records that prove your outgoing mail is genuine live in the same book. When the book moves and its copy is missing those records, the internet has nowhere correct to deliver your mail. It cannot happen on Route 2, because email never moves. Before the change, save the MX targets and priorities and every TXT record from the old host. After it, compare the new host's records against that list, value for value, and send a test message to your domain from an outside account.
Route 2: Add A and CNAME records where DNS already lives
The records route leaves your nameservers, your email, and every other record alone. You edit only the website's records, at the provider your nameservers already point to. Two record types do the pointing. An A record points a name to an IP address, the numeric address of a server. A CNAME record points a name to another name, so the destination can move servers without your record changing.
Point the bare domain
At your DNS host, find the records for the domain itself, shown as @: Cloudflare's docs use @ for the zone apex, the domain with nothing in front of it. If an A record already exists there, edit its value to the IP address your host gave you. If none exists, add one. If your host gave a CNAME target for the bare domain instead, use it only where the DNS host supports it at the root: Cloudflare allows it through a feature called CNAME flattening; where that support is missing, the A record is the root's route.
Point www at the same place
Add or edit the www record so it lands in the same place, usually a CNAME pointing to your domain itself, or the same values your host gave for the bare domain. Kinsta's domain flow configures the bare domain and the www version together by default, for Cloudflare's stated reason: a visitor who types www. should still reach your site.
Remove whatever pointed at the old host
One name should give one answer. If an old A record for the same name still sits beside your new one, delete it rather than leaving both: two answers send some visitors to each server. Check for an AAAA record too, the IPv6 sibling of the A record, pointing at the old host, and remove it for the same reason.
Let the host confirm, and leave email alone
Both example hosts watch for your records themselves. Kinsta sends a confirmation email and shows a checkmark beside the domain once the records are detected; WP Engine tracks the domain's status in its User Portal. A value reported as incorrect is almost always a copying slip, so compare it character for character with the dashboard that issued it. And notice what this route never asked you to touch: the MX and TXT records. If a screen suggests deleting records you do not recognize, stop. A website move never needs it.
You should now have: the bare domain and www answering with your host's values, no record still pointing at the old host, and your email records exactly as they were.
How long it takes: propagation in plain words
Propagation, the word everyone uses for the wait, misleads slightly. Nothing travels and nothing is copied from server to server. Instead, thousands of resolver servers hold cached answers from earlier lookups, each with the TTL of the record it holds. Your change is live at your DNS host the moment you save it. The wait is simply those caches expiring: each resolver keeps giving the old answer until its copy's TTL runs out, then asks again and gets the new one.
Two consequences follow. First, timing is set by the timer in force before your change, which is why preparation lowers TTLs a day ahead: a record cached for a day can keep answering for a day. Cloudflare's Auto TTL is 300 seconds, five minutes, so its records refresh quickly; a one-day TTL spreads far more slowly. Nameserver changes carry the longest window: allow up to 24 hours, per Cloudflare. Second, for a while some visitors reach the new host and some the old one, which is why migrations keep the old site running until the window closes. Our walkthrough for the move itself, migrating your WordPress site to a new host, works that order end to end.
You can watch it happen. Cloudflare and Kinsta both point to WhatsMyDNS, a free lookup page that asks resolvers in many locations what they currently answer: choose the record type you changed, NS or A, and watch the new value replace the old across the map. When nearly every location agrees, the wait is effectively over. Give it its time before troubleshooting.
How to check it worked
| Check | How | What pass looks like |
|---|---|---|
| Site loads at the new host | Visit the bare domain and the www version | Your site loads on both, with no browser security warning |
| Records carry the new values | Look the domain up on WhatsMyDNS, choosing NS, A, or CNAME to match your change | The new nameservers, IP address, or target show from nearly every location |
| Host confirms the pointing | Open the domain's status in your host's dashboard | An Active or pointed state: a checkmark at Kinsta, a pointed status at WP Engine |
| Email still flows | Send a message to your domain from an outside mailbox, then reply to it | It arrives promptly, and the reply sends, with no bounce |
| Email records intact (Route 1) | Compare MX and TXT records at the new DNS host with your saved list | Same targets, same priorities, same values as before the move |
If a check still fails after the full window, work the short list first: values copied exactly, records edited at the provider your nameservers actually name, and no old record left answering beside the new one.
Common questions
Does changing nameservers move my domain or my website?
Neither. The registration stays at your registrar, and your files stay where they already sit. Only the address book's keeper changes. A registration move is a transfer, a separate process your registrar runs with authorization codes, and a hosting move is a migration of files and data, the subject of our web hosting guide.
Which route should I choose for a brand-new site?
The one your host asks for. A new domain with no email loses nothing in a nameserver change, so Route 1 is safe there, and it is required when you want the new provider running your DNS. Once the domain carries real email, Route 2 becomes the default whenever offered.
Can www point somewhere different from the main site?
Yes. Every subdomain, the part in front of your domain such as www, blog, or shop, is its own name in DNS with its own records, so each can point at a different service. A site can live at one host while its shop lives at another.
My records are right and the site still shows the old host. What now?
First, wait out the window: up to a day for a nameserver change, one old TTL for a record change. Then test from a different network, such as your phone with Wi-Fi off, since your own connection may hold the old cached answer longest. If the wait is truly over, the usual culprit is editing records at the wrong provider: changes made at your registrar do nothing while your nameservers name a different DNS host.
The pointing job, as a checklist
- Know your three providers: registrar, DNS host, and web host are separate roles.
- Saved copy of every current record, email records first, before any editing.
- Route 2 whenever the host hands you records. Route 1 only when nameservers are required.
- On Route 1, the new host's book is complete, email included, before the flip, and DNSSEC is off.
- Every value copied exactly as the host's own dashboard shows it.
- Afterwards: site checked, records checked, email tested, and propagation given its full window.
Pointed this way, the domain lands on the new host with the mailbox intact, the setup every hosting guide here assumes.
Where these steps come from
Every route, record format, and wait time here was checked against the official sources below in November 2026.