Skip to content
wp2next, home
Skip to the page

DNS cutover: pointing the domain at Vercel

Your AI tool

Commands are shown for Claude desktop, the recommended tool. Pick another if you use a different one; this browser remembers.

Your computer

Pick your computer's system. Steps that differ switch to it, and this browser remembers.

For people running migrations (freelancers, agencies, developers). Moving your own site? See the plain-language version.

The is the moment the domain stops sending visitors to WordPress and starts sending them to the new site on Vercel. Technically it changes one thing: which server the domain's web records point to. Everything else that lives in the same DNS zone (email, verification records, other subdomains) has to keep working throughout. Most cutover failures are not about the website at all; they are email that stopped because MX or SPF records were lost.

This guide is the full runbook. In a wp2next build it happens in 12 of migrate, after the three launch gates pass; the agent walks the site owner through it and asks before every change (see Running it with wp2next).

Facts and menu names were checked in December 2026 against the vendors' own pages (listed under Sources). Providers change their screens. Where a fact could not be confirmed in the vendor's documentation it is marked Not yet confirmed, and where a step in a provider's screens could not be confirmed it says check in the UI.

Email first. Before you change anything, export or screenshot every , MX, SPF, DKIM and DMARC included. If you only edit the website's A and CNAME records (the recommended method), email is untouched. If you switch nameservers, every email record must exist at the new DNS host before the switch. See 3. Protect email.

At a glance

WhenWhat
Any time beforeFind the DNS host, export every record, list every subdomain, settle apex vs www, check CAA and DNSSEC. Add the domain to the Vercel project to see its record values.
24–48 hours beforeLower the TTL of the records you will change (60 seconds is what Vercel suggests), then wait out the old TTL.
Cutover (quiet hours)Freeze WordPress content, change the apex A record and the www CNAME (or the nameservers), confirm the certificate, run the checks.
First hoursWatch certificate issuance, redirects, forms and email. Some visitors still reach WordPress until caches expire, so it stays up.
About a week laterRaise the TTL back to its old value.
2–4 weeks later (30 days is a safe default)With no rollback needed and clean 404 and email reports, take a final backup and cancel the old hosting.

Words used here

  • : the company the domain was bought from.
  • : the service whose nameservers answer for the domain. Often the registrar, but it can be Cloudflare, the old WordPress host, or Vercel.
  • Web host: the server that serves the website. Today that is the WordPress host; after the cutover it is Vercel.
  • Zone: all of a 's DNS records together, as held by the DNS host.
  • (time to live): how long, in seconds, other servers may keep a cached copy of a record. It decides how fast a change, or a rollback, reaches everyone.

The cutover changes the web host. It does not need to change the DNS host, and it never needs to change the registrar (see 15. Moving the registration is a separate job).

1. Find who hosts DNS

Look up the domain's . Edit records only at the provider those nameservers belong to (checked 2026-12, Vercel⁠ (external site)).

Terminal
dig NS example.com +short

Reading the answer:

  • ns1.vercel-dns.com and ns2.vercel-dns.com: Vercel .
  • Names ending in .ns.cloudflare.com: Cloudflare. That is a pattern seen in Vercel's own examples; Cloudflare says to copy its nameserver names exactly as given.
  • Anything else: usually the registrar or the old WordPress host. The name normally gives it away.

If you have no , dns.google⁠ (external site) answers the same question in a browser (type the domain, pick NS).

Record the answer in the project's CLAUDE.md → Cutover, with who holds the login. If the site owner doesn't hold it, find out now who does and book them for cutover day.

2. Copy every record

Export the whole zone before you change anything, and keep the export outside the old host.

  • Cloudflare: DNS → Records → Import and Export → Export (checked 2026-12, Cloudflare⁠ (external site)).
  • Vercel DNS: the lists every record: vercel dns ls example.com.
  • Anywhere else: look for an export or "" option (check in the UI). If there is none, screenshot every page of records.

Then write down each record with its name, type, value, TTL and priority:

  • A and for the apex (@) and www
  • every : www, shop, mail, autodiscover, DKIM selectors, anything else
  • : SPF (v=spf1 …), DMARC at _dmarc, DKIM at <selector>._domainkey, and verification records such as google-site-verification=…, MS=ms…, facebook-domain-verification=…, and those for Apple, Stripe, HubSpot and similar
  • SRV (Teams, SIP and similar)
  • NS records for delegated subdomains, and anything at _acme-challenge

List every subdomain and what it serves. Some keep pointing at the old host on purpose, for example a shop. subdomain running WooCommerce or a staging site. Those must not move with the main site, and the old hosting can't be canceled while they live there.

. Check whether it is on (the registrar's dashboard shows it). If you plan to change nameservers, turn DNSSEC off at the registrar first: Cloudflare warns that changing nameservers while DNSSEC is active can make the domain unreachable (checked 2026-12, Cloudflare⁠ (external site)). Editing records at the current DNS host doesn't need this.

3. Protect email

Never change MX, , DKIM or DMARC records as part of a web cutover. If you only edit the website's A and CNAME records at the current DNS host, the email records are left exactly as they are. That is the main reason Option A is the default.

If you switch nameservers (Option B), recreate every MX, TXT and SRV record at the new DNS host before the switch, compare them (see 11. Check the records), and keep the old DNS service active while the change spreads (checked 2026-12, Vercel⁠ (external site)). Vercel offers an Add DNS Preset button for common email providers, and vercel dns import example.com <zonefile> imports an exported zone.

Google Workspace

The current setup is a single MX record, smtp.google.com, priority 1. Domains set up before 2023 may use the older set of aspmx… records, which still work. Don't mix the two sets (checked 2026-12, Google⁠ (external site), Vercel⁠ (external site)). Copy whatever the zone has today.

Microsoft 365

The MX value is specific to each tenant: copy it from the zone, or from the Microsoft 365 admin center under Domains. A typical setup also has an autodiscover CNAME to autodiscover.outlook.com, the MS= verification TXT, the SPF record, and SRV and CNAME records for Teams if Teams is used. Not yet confirmed: we did not confirm Microsoft's full record list; the admin center's Domains page shows what a given tenant needs (Microsoft⁠ (external site)).

Other mail providers

Copy their MX, SPF, and any CNAMEs exactly as they are in the zone today. The provider's help pages list what they need; the zone is the truth for this domain.

SPF, DKIM and DMARC

  • SPF: only one v=spf1 record per name. If you find two, merge them into one with include: entries (checked 2026-12, Vercel⁠ (external site)). Don't add to the root SPF; its SPF lives under the sending subdomain.
  • DKIM: usually TXT or CNAME records at <selector>._domainkey. Copy every one; a missing DKIM record sends mail to spam rather than stopping it, so it is easy to miss.
  • : the TXT at _dmarc. Never change an existing policy during a cutover without the mail admin.

Resend (the site's form email)

wp2next sites send through Resend from a sending subdomain (send.example.com by default), set up in phase 8 and often verified long before the cutover. Its records (an MX, an SPF TXT and a DKIM TXT) sit under that subdomain, so they never clash with the root's MX or SPF.

  • Copy the names and values from the Resend dashboard (Domains → the domain), not from docs. The MX points at feedback-smtp.<region>.amazonses.com with priority 10, and the region varies (checked 2026-12, Resend on Vercel⁠ (external site)). The exact SPF value and DKIM name are Not yet confirmed here: always copy them from the Records tab.
  • Copy values exactly, including any trailing period. Resend recommends a trailing period on the MX value because some DNS hosts otherwise append the domain to it (Resend⁠ (external site)).
  • Never proxy Resend records through Cloudflare (Resend⁠ (external site)).
  • Verification often takes about 15 minutes and can take up to 72 hours. There is a Restart verification button if it stalls (checked 2026-12, Resend⁠ (external site)).
  • After the cutover, Resend must still show the domain as Verified, and a test form submission must arrive. If you switched nameservers, these records must have moved with everything else.

How the sets Resend up: Forms, email and CRM.

4. Choose how to switch

OptionWhat changesWhen to use it
A. Keep the DNS host, edit two records (recommended)Only the apex A record and the www CNAMEThe default. Email and every other record stay where they are. Vercel: changing only the website's A or CNAME record "does not require moving the rest of your DNS records".
B. Switch nameservers to VercelEvery record moves to Vercel DNSOnly when you want Vercel to manage DNS, or for wildcard domains without the delegation below. Every record must be recreated at Vercel first.

(Checked 2026-12, Vercel⁠ (external site).)

Option A is also faster to undo: a record edit with a low TTL rolls back in minutes, while a nameserver change can take 24–48 hours either way.

Vercel's nameservers are ns1.vercel-dns.com and ns2.vercel-dns.com. Records added in Vercel DNS default to a 60-second TTL, and Vercel says they can take up to 24 hours to update everywhere (checked 2026-12, Vercel⁠ (external site)).

5. The Vercel records

Don't copy record values from any guide, this one included. Copy them from the Vercel project: Project → Settings → Domains, after adding the domain there. The values are assigned per project (checked 2026-12, Vercel⁠ (external site)). You can also print them with the CLI:

Terminal
vercel domains verify example.com --project <project-name>

What to expect to see (checked 2026-12, Vercel troubleshooting⁠ (external site)):

NameTypeValueNotes
@ (apex)AThe address the project shows. Many projects show 76.76.21.21; newer ones can show another address, such as 216.198.79.1.Remove every other A and AAAA record on the apex.
wwwCNAMEA project-specific host, such as d1d4fc829fe7bc7c.vercel-dns-017.com.Remove any A or AAAA record on www.
  • Remove AAAA records for the and www. Vercel doesn't serve custom domains over IPv6, and leftover AAAA records send some visitors to the old server (Vercel⁠ (external site)).
  • Trailing period. Vercel shows CNAME values ending in a period on purpose and says to copy them exactly, period included. Some DNS hosts add the domain to the end of a value without one (Vercel⁠ (external site)).
  • Add the domain to the Vercel project before cutover day: the project shows the values to use, and nothing changes for visitors until the DNS records do. (Phase 12 step 2 adds it.)

Apex and www

Vercel prompts you to add www whenever you add the apex. It recommends www as the primary domain with the apex redirecting to it, because a CNAME gives its network more control; the apex as primary is supported too (checked 2026-12, Vercel⁠ (external site)).

For continuity, keep whichever host the WordPress site used as canonical (its siteurl setting): changing the canonical host during a migration adds risk for no gain. Set the other one to redirect: Project → Settings → Domains → the domain → Edit → Redirect to, and pick 308 or 301. Vercel lets you choose 301, 302, 307 or 308, and its docs don't say which is the default (checked 2026-12, Vercel changelog⁠ (external site)). Check it with curl -IL after the cutover: one permanent redirect, then 200.

Wildcards

Only if the site uses a wildcard such as *.example.com while keeping the current DNS host. All three steps are needed (checked 2026-12, Vercel⁠ (external site)):

  1. In the team's Domains page, open the domain and click Enable Vercel DNS under DNS Records. Leave the nameservers at the registrar as they are.
  2. At the current DNS host, add two NS records: _acme-challenge → ns1.vercel-dns.com. and _acme-challenge → ns2.vercel-dns.com.
  3. Add a wildcard CNAME: * → cname.vercel-dns-0.com.

Keep the _acme-challenge NS records for good, or certificate renewal fails. Delegating them can stop other providers from issuing certificates for the same names.

6. SSL certificates and CAA

Vercel gets certificates from Let's Encrypt: HTTP-01 for normal domains, DNS-01 for wildcards. Issuance starts once DNS points at Vercel and "typically provisions within a few minutes of DNS verification". Renewal is automatic 14–30 days before expiry, as long as DNS stays correct (checked 2026-12, Vercel SSL⁠ (external site)).

  • Visitors can see a certificate warning for the few minutes before the certificate exists. Do the cutover in a quiet period.
  • Check it with vercel certs list, or vercel httpstat / against the domain.
  • /.well-known/acme-challenge is reserved: it can't be redirected or rewritten.

CAA records. No CAA records at all is fine. If the zone has any, they decide which certificate authorities may issue for the domain (checked 2026-12, Vercel troubleshooting⁠ (external site)):

  • They must include 0 issue "letsencrypt.org". For wildcards, issuewild takes precedence and must allow it too.
  • Lookups follow CNAMEs first, then climb to the parent domain. The closest policy wins; policies at different levels are not combined.
  • A CNAME can't sit on the same name as a CAA record. When www is a CNAME to Vercel, Vercel's own CAA policy applies to it and you can't customize it. For a custom CAA policy on that name, use the project's instead of the CNAME.
  • If issuance fails, Let's Debug⁠ (external site) and DNSViz⁠ (external site) show why.

7. Cloudflare

If Cloudflare hosts the DNS, set the website's records (apex and www) to "DNS only" (gray cloud). With the proxy on (orange cloud), Vercel can't confirm the record or validate the certificate, and the domain shows "Invalid Configuration". Vercel doesn't recommend a reverse proxy in front of it (checked 2026-12, Vercel DNS⁠ (external site), Vercel reverse proxy⁠ (external site)).

Cloudflare's own docs recommend proxying web records. For a site on Vercel, follow Vercel's guidance. If the proxy really must stay on:

  • use mode Full (strict); Flexible causes an ERR_TOO_MANY_REDIRECTS loop;
  • leave http://…/.well-known/acme-challenge/* unredirected;
  • never cache /.well-known/vercel/*.

8. Verification records

  • Keep the google-site-verification= TXT record. re-checks it from time to time, and removing it loses verification after a grace period. DNS is the only way to verify a Domain property, which is what wp2next sets up (checked 2026-12, Google⁠ (external site)).
  • File and meta-tag verifications break when WordPress is replaced: the HTML file and the <meta> tag went with the old site. Google advises keeping more than one verification method. For Search Console, use the DNS method. For any other service verified with a file or meta tag (Facebook, Pinterest, and similar), re-add it to the new site's <head> or public/ folder before the cutover, or switch it to a DNS record.
  • Keep every other verification TXT (MS=…, facebook-domain-verification=…, Apple, Stripe, ). Option A leaves them alone; with Option B they must be copied.

9. Timeline

  1. Any time before: sections 1–3, the apex/www decision, CAA and verification checks. Add the domain to the Vercel project so its values are known. Freeze the date with the site owner and whoever controls DNS.
  2. 24–48 hours before: lower the TTL on the records you will change (apex A and www CNAME, or the NS records for Option B) to about 60–300 seconds; Vercel suggests 60 (checked 2026-12, Vercel⁠ (external site)). Then wait at least as long as the old TTL, so every cache has picked up the short one. Some DNS hosts have a minimum TTL: check in the UI.
  3. Cutover, in a quiet period: see 10. Cutover day.
  4. Spreading: record edits reach most people within minutes up to the old TTL. Nameserver changes can take 24–48 hours (Vercel⁠ (external site)). Until then some visitors still see WordPress, so keep it running and unchanged.
  5. About a week later, once stable: raise the TTL back to its old value (for example 3600).
  6. 2–4 weeks later: 14. When to cancel the old hosting.

10. Cutover day

  1. The three launch gates have passed and tracking is on in Production (phase 12 step 1).
  2. Production has NEXT_PUBLIC_SITE_INDEXABLE=true, the domain is added to the project, and the production host is in Sanity's CORS list with the pointing at it (phase 12 step 2).
  3. Freeze WordPress content. Agree with the site owner that nobody edits WordPress from now on. If anything changed since the content import, sync it first.
  4. Save the "before" values of every record you will change, somewhere you can paste from. This is the rollback.
  5. Change the records: the apex A record and the www CNAME (Option A), or the nameservers at the registrar (Option B, with every record already recreated at Vercel). Remove the old A and AAAA records on those names. On Cloudflare, gray cloud. Give the new A and CNAME records the same short TTL (60 seconds, or the lowest the host allows): a newly created record gets the host's default TTL unless you set one, and that default can be an hour or more (check in the UI). The new records' TTL sets how fast a rollback can work.
  6. Watch the certificate (vercel certs list) and Project → Settings → Domains until it shows "Valid Configuration".
  7. Run the checks in 11 and 13.
  8. Keep the old WordPress host running. Its forms may still receive a few messages from visitors whose DNS hasn't updated yet, so check its inbox for a few days.

11. Check the records

Ask a public resolver (here Google's, dns.google) rather than your own computer, which may have the old answer cached. Replace example.com with the domain.

Terminal
dig A example.com @dns.google +noall +answer       # apex: the Vercel address, and its TTL
dig CNAME www.example.com @dns.google +short       # www: the Vercel CNAME
dig AAAA example.com @dns.google +short            # should print nothing
dig MX example.com @dns.google +short              # email: unchanged from your export
dig TXT example.com @dns.google +short             # SPF and verification records: unchanged
dig CAA example.com @dns.google +noall +answer     # empty, or includes letsencrypt.org
curl -IL https://example.com                    # one permanent redirect at most, then 200

Option B, before switching nameservers: compare each record at Vercel's nameserver with the old provider's, so you know the new zone is complete. This is Vercel's documented method.

Terminal
dig MX example.com @ns1.vercel-dns.com +short
dig MX example.com @<old-nameserver> +short      # from step 1; repeat for TXT, CNAME, SRV and each subdomain

If your own browser still shows the old site after the public resolvers have the new answer, clear your computer's DNS cache:

Terminal
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

This comes from third-party guides; Apple's own article covers only older macOS versions (AppleInsider⁠ (external site)). Windows

POWERSHELL
Clear-DnsClientCache

or ipconfig /flushdns. Both Not yet confirmed here. Linux

Depends on the distribution. On systems using systemd-resolved, resolvectl flush-caches (Not yet confirmed).

Browser-based checkers: dns.google⁠ (external site) for one answer, and dnschecker.org⁠ (external site) for answers from many places at once.

12. Rollback

The rollback plan is simple because of the preparation:

  • The old WordPress host stays running, paid and untouched until section 14.
  • The "before" values are saved (step 4 of cutover day, and the zone export).
  • To roll back: restore every record you changed or deleted on the apex and www (A, AAAA and CNAME) from the saved "before" values, and remove the records you added. Most visitors are back on WordPress within the TTL set on the new records (step 5 of cutover day), so minutes when that was 60–300 seconds, up to an hour or more if the host gave them its default.
  • : if WordPress and the new site share one container and the new-site version was published at launch, WordPress is now running the new site's tags. Re-publish the previous container version (Versions → the pre-launch version → Publish; path Not yet confirmed, check in the UI).
  • Option B is slow to roll back: restoring the old nameservers can take 24–48 hours again.
  • If the new site itself is the problem (a bad release, not DNS), don't touch DNS: roll back the in Vercel, which takes effect immediately (Vercel⁠ (external site)).

Decide in advance what triggers a rollback (for example: the certificate isn't issued within an hour, email is down, or most old URLs fail) and who makes the call.

13. After the cutover

On the day (phase 12 steps 4–7 cover most of these):

  • https:// loads on the apex and www, the certificate is valid, and the non-primary host to the primary with one permanent redirect (curl -IL).
  • Project → Settings → Domains shows "Valid Configuration" and no "DNS Change Recommended".
  • /sitemap.xml and /robots.txt are served, and robots.txt no longer disallows everything.
  • Every old WordPress address answers 200 or redirects once to its new page: the phase 12 redirect check over content/urls.txt passes.
  • Email both ways: send from an outside address (Gmail, for example) to the domain's mailbox and back, and check the headers show spf=pass, dkim=pass and dmarc=pass.
  • Form email: a real test submission arrives, Resend's logs show it delivered, and Resend still shows the domain as Verified.
  • Analytics shows the visit in its realtime view, after accepting the .
  • Search Console: submit the . Same domain and same URLs need no Change of Address.

Over the next 2–4 weeks:

  • Watch for 404s in Vercel's logs and in Search Console's Pages and Crawl Stats reports, and add redirects for anything that was missed.
  • Run wp2next seo audit a few days in.
  • Raise the TTL back after about a week.

14. When to cancel the old hosting

Wait at least 2–4 weeks with no rollback, clean 404 reports and working email; 30 days is a safe default. Then:

  1. Check what else the old host does. If it is also the registrar, the DNS host or the email provider, canceling the hosting can take the domain, DNS or email with it. Move those first, each as its own task, and confirm they work before canceling anything.

    Moving DNS off the old host (common when the domain was bought at one company but its nameservers point at the old WordPress host) is a nameserver change, the operation most likely to break email. Follow Option B's steps: recreate every MX, TXT, SRV and CNAME record at the new DNS host first (3. Protect email), compare them with the Option B commands in 11. Check the records, turn DNSSEC off first (2. Copy every record), and keep the old host's DNS active while the change spreads, which can take 24–48 hours (checked 2026-12, Vercel⁠ (external site)).

  2. Check for subdomains still served there (section 2): a shop, a staging site, a separate app.

  3. Take a final backup: files and database (the export, or the host's own backup), the uploads folder, and the DNS zone export. Store it somewhere other than the old host, for at least 6–12 months.

  4. Cancel only the hosting plan, and keep the confirmation.

The old hosting costs another month or so while you wait. It is the price of a quick rollback; tell the site owner up front.

15. Moving the registration is a separate job

Moving the domain to another registrar (a "transfer") is unrelated to the cutover. Never do both at once. A transfer can be blocked for 60 days after a registration or a previous transfer (checked 2026-12, Vercel⁠ (external site)), and a transfer that changes the DNS host at the same time can take email down. If the client wants the registration moved, do it weeks after the cutover, as part of the handover.

Running it with wp2next

The cutover is steps 2–3 of phase 12 in migrate. The :

  • asks who controls DNS early on (the migrate interview) and notes it in CLAUDE.md → Cutover;
  • lists the existing records with you and tells you the exact records to change;
  • changes records itself only when DNS is on Vercel (vercel dns add …), and only after you say yes. Anywhere else, the person who controls DNS makes the change;
  • runs the redirect check, the post-launch scans and the Search Console steps after the switch.

To resume the build at the cutover, run migrate in the site's project folder:

For Claude desktop

In the Code tab, open a session on the site's project folder and type in the prompt box:

Text
/wp2next:migrate

Common problems

ProblemLikely causeFix
Vercel shows "Invalid Configuration"Cloudflare proxy on, a leftover A or AAAA record, or a CNAME typed without its trailing periodGray cloud on Cloudflare, remove the old A and AAAA records, copy the value exactly from Settings → Domains
No certificate after an hourA CAA record that doesn't allow letsencrypt.org, or the proxyFix CAA (section 6), check with Let's Debug⁠ (external site)
ERR_TOO_MANY_REDIRECTSCloudflare proxy with SSL mode FlexibleGray cloud, or SSL mode Full (strict)
Some visitors still see WordPressCaches holding the old record (TTL not lowered, or a nameserver change)Wait out the old TTL, or 24–48 hours for nameservers. Keep WordPress running
Email stoppedMX, SPF or DKIM records lost in a nameserver switchRestore them from the zone export at the current DNS host
Form email stoppedResend records not moved with the nameserversRe-add them from the Resend dashboard and click Restart verification
Search Console says "verification lost"The google-site-verification TXT was removedPut it back from the zone export

More: Troubleshooting.

Sources

All checked 2026-12.

Back to the guides