DNS Cutover for a Site Migration: Minimizing Downtime

Technical SEO Guide Last reviewed:

Direct Answer

Verify the new origin before DNS changes by sending the production Host header to the candidate endpoint where possible. During cutover, compare answers from multiple resolvers, confirm the certificate covers the public hostname, and keep the old origin able to serve traffic until cached answers expire. For ordinary users this means old bookmarks and links should resolve reliably to the correct new state. For developers it means every participating layer needs a measurable expected-versus-observed test. Prepare the new origin before changing DNS. Verify A/AAAA/CNAME answers, TLS, host routing, and keep the old origin available while cached DNS answers expire. Define the expected public result before release and verify the same result after release instead of trusting configuration or a browser screenshot.

Documentation

What this check actually means

Verify the new origin before DNS changes by sending the production Host header to the candidate endpoint where possible. During cutover, compare answers from multiple resolvers, confirm the certificate covers the public hostname, and keep the old origin able to serve traffic until cached answers expire.

Expected behavior and decision boundary

Expected state: Verify the new origin before DNS changes by sending the production Host header to the candidate endpoint where possible. During cutover, compare answers from multiple resolvers, confirm the certificate covers the public hostname, and keep the old origin able to serve traffic until cached answers expire. Define an expected status, expected destination, and owner for every URL/host class before launch. PASS means observed HTTP/DNS/DOM behavior matches that definition without unexplained intermediate states.

Diagnosis: evidence to capture

Record the test as data so release and SEO teams see the same state:

url,expected_status,actual_status,expected_target,actual_target,canonical,robots,owner
https://old.example/a,301,301,https://new.example/a,https://new.example/a,https://new.example/a,index,platform

For host or infrastructure changes, also store DNS answers, TLS/SNI result, CDN cache status, and timestamps. A screenshot alone cannot prove an HTTP status, redirect chain, or resolver state.

Technical implementation

Verify the new origin before DNS changes by sending the production Host header to the candidate endpoint where possible. During cutover, compare answers from multiple resolvers, confirm the certificate covers the public hostname, and keep the old origin able to serve traffic until cached answers expire.

dig +short new.example.com A
dig +short new.example.com AAAA
curl -I --resolve new.example.com:443:203.0.113.20 https://new.example.com/
openssl s_client -connect 203.0.113.20:443 -servername new.example.com </dev/null

Capture at least one representative URL per template/path class and store expected versus observed HTTP status. For DNS/CDN work also record resolver answers, certificate/SNI, host routing, and cache status. For redirects, test the first hop separately from the final destination.

Common root causes

Common causes are incomplete URL inventories, changing domain/CMS/design at the same time, untested edge rules, old absolute URLs embedded in templates, staging/production configuration drift, and no explicit rollback boundary. When something fails, first locate the layer: DNS/TLS, web server/CDN, application routing, CMS/template, or page-level metadata.

Edge cases and false positives

Not every difference is a defect: an intentional 404/410 can be correct, a temporary 302 may be right for testing, and DNS answers can differ while TTLs expire. Define expected behavior per URL class before auto-fixing deviations. For login/API/non-GET endpoints, review redirect semantics separately.

Verification after the fix

| Check | PASS | FAIL | | --- | --- | --- | | Output | expected rule is visible in final HTML/HTTP/DOM | backend field looks correct but final output does not | | Scope | representative URLs from every affected template tested | only one example URL tested | | Source | shared root cause/owner is documented | manual per-page edits without root cause | | Regression | adjacent canonical/robots/accessibility/link rules still pass | fix creates a new defect in the same component | | Evidence | before/after values and test time are stored | only visual impression or screenshot |

Ownership and handoff

Content/SEO owner: defines the expected page purpose and whether the condition actually requires a change.
Developer/platform: fixes the shared template, routing, header, or component source.
QA: tests representative edge states and re-crawls/re-requests after deployment.
Release owner: records time, scope, and rollback point so monitoring signals can be tied to a specific change.

Acceptance criteria

PASS when the final technical state is reproducible on representative URLs, the shared root cause is fixed, intentional exceptions are documented, and a re-crawl/re-request shows no new regression in canonicalization, robots directives, accessibility, links, or rendering.

Questions & Answers

Should a migration and redesign happen at the same time?

Prefer separating them when practical. Fewer simultaneous changes make root-cause analysis, rollback, and search fluctuations much easier to interpret.

How should redirects be tested?

First request without following redirects and verify the initial status and Location; then inspect the full chain and final 200 destination. A successful end page does not prove the path is clean.

What should be monitored first after launch?

HTTP errors, robots/noindex, redirect targets, canonicals, sitemap output, and server/CDN failures first; indexing and query trends require a longer window.

When is rollback better than a hotfix?

When the defect is broad, the cause is uncertain, or routing/indexability is severely damaged and a known-compatible rollback is available.

Practical Check

  1. Define the affected URL/template class and write the expected behavior before changing anything.
  2. Capture raw HTTP/HTML; when client-side code changes output, also inspect the rendered DOM.
  3. Validate the redirect/status matrix against final destinations; do not start with a follow-redirect-only test.
  4. Trace the defect to its shared layer: DNS/CDN, routing, template, component, CMS field, or editorial content.
  5. Implement the smallest systemic fix and preserve a rollback point first.
  6. Test positive cases, missing/empty data, and at least one relevant edge state.
  7. Re-crawl or re-request every affected template/URL class and store before/after evidence.
  8. PASS: expected behavior is reproducible, no adjacent SEO/accessibility rule regresses, and the fix does not require manual per-page workarounds.

Sources

  1. Google Search Central — Site moves and migrations
  2. Google Search Central — Redirects and Google Search
  3. RFC 9110 — HTTP Semantics
Your experience on this site will be improved by allowing cookies.