CDN and DNS Migration Checklist: Move a Website Without Downtime or Cache Confusion
DNSCDN migrationHostingInfrastructure

CDN and DNS Migration Checklist: Move a Website Without Downtime or Cache Confusion

CCache Cloud Editorial Team
2026-11-28
7 min read

A practical CDN and DNS migration checklist covering records, TLS, caching, TTLs, rollback, monitoring, and post-cutover verification.

A CDN or DNS migration can be low-risk when the work is treated as a controlled infrastructure change rather than a single nameserver update. This checklist shows what to record before the move, how to stage DNS and CDN changes, which HTTPS and caching checks to run, and what to monitor afterward so you can move a website without avoidable downtime or cache confusion.

Overview

Moving a website behind a CDN, changing DNS providers, replacing a reverse proxy cache, or switching origins involves several independent systems. DNS determines where visitors are directed. TLS determines whether the connection is trusted. The CDN decides which requests are served from the edge and which reach the origin. The origin still controls application behavior, authentication, cookies, and many HTTP headers.

The safest migration separates these concerns into stages. First, inventory the current state. Next, prepare the CDN and certificate without changing public traffic. Then lower DNS TTLs when appropriate, switch traffic during a monitored window, and verify the result from more than one network and region. Keep the previous DNS configuration, origin route, and rollback steps available until the new path has been stable for a defined period.

This process applies whether you are moving a WordPress site, an application behind a reverse proxy cache, or a static website using an origin pull CDN. Provider dashboards use different terms, but the underlying checks are similar.

What to track

1. Create a DNS-record inventory

Export or manually record every DNS entry before making changes. Do not limit the inventory to the root website record. Email, verification, monitoring, and third-party services often depend on records that are easy to overlook.

RecordPurposeValues to recordMigration decision
A or AAAADirect host or origin addressHostname, address, TTL, proxy statusPoint to the CDN only when the provider requires it
CNAMEAlias, subdomain, or CDN targetName, target, TTL, proxy statusConfirm whether the target is provider-managed
MXEmail deliveryMail host and priorityKeep unchanged unless email is also being moved
TXTSPF, DKIM, DMARC, and verificationFull value and hostnameCopy exactly; preserve quotation and segmentation rules
CAACertificate authority restrictionsIssuer values and TTLConfirm the CDN certificate issuer is permitted
NSAuthoritative DNS delegationCurrent nameservers and registrarChange only during the DNS-provider stage

Also record subdomains such as www, api, admin, assets, and any hostname used for uploads or webhooks. A CDN migration may apply to the public site but not to an API or administrative endpoint.

2. Document the current baseline

Capture the current DNS answers, certificate details, HTTP status codes, redirect behavior, response headers, and representative page timings. Test the root domain and common paths such as the homepage, a static asset, a login or account page, a form submission, and a product or article page. Note whether responses include Cache-Control, Age, ETag, Vary, or provider-specific cache headers.

Record the origin IP or private origin hostname, firewall allowlist requirements, health checks, and any existing cache bypass rules. If the origin currently accepts traffic from anywhere, decide whether it should be restricted after the CDN is verified. Do not make that restriction before confirming that the CDN can reach the origin.

3. Prepare HTTPS and CDN settings

Use the CDN provider’s required certificate method and verify that every intended hostname is covered, including both the apex domain and www where applicable. Check certificate validation records, CAA restrictions, supported TLS settings, and HTTP-to-HTTPS redirects before switching traffic.

Configure the CDN in a staging or disabled state when possible. Set the origin hostname, host header behavior, port, compression, query-string handling, and cache rules deliberately. Start with conservative caching: static assets can usually be cached according to their long-lived headers, while HTML, personalized pages, checkout flows, dashboards, and responses containing private data should be bypassed until tested.

For additional background, compare provider capabilities in the CDN comparison for small business websites and review the website cache audit checklist before changing cache behavior.

4. Plan TTLs and rollback

StageDNS approachRollback action
Before preparationKeep normal TTLs while building the new configurationNo change required
Before cutoverLower relevant web-record TTLs if your DNS provider permits itRestore the previous web records
CutoverChange only the records required for web trafficRevert the web records and preserve email records
After stabilityReturn TTLs to a sensible operational valueUse the documented previous configuration if needed

TTL changes are not an instant purge of all cached answers. Resolvers may retain prior answers until their stored TTL expires, and local networks can behave differently. Keep both the old and new paths functional during the overlap where possible.

Cadence and checkpoints

Run the migration as a sequence of checkpoints rather than one large change.

  1. Inventory: export DNS records, list hostnames, identify email and verification dependencies, and save the current CDN or proxy configuration.
  2. Build: add the domain to the new DNS or CDN platform, configure the origin, issue the certificate, and reproduce required redirects and headers.
  3. Origin test: test the origin directly with an appropriate host header or temporary hostname. Confirm status codes, application behavior, and firewall access.
  4. Pre-cutover test: use provider preview tools, a temporary hosts-file entry, or a test hostname if available. Verify TLS, cache rules, cookies, forms, media, and APIs.
  5. DNS cutover: change the authoritative nameservers or web records according to the plan. Avoid unrelated edits during the same window.
  6. First-hour monitoring: query DNS from multiple resolvers and regions, request key URLs, inspect headers, and watch origin errors, traffic, and application logs.
  7. First-day review: test real user journeys, email delivery, webhooks, analytics, robots files, sitemaps, and third-party integrations.
  8. Weekly and monthly review: track cache hit ratio, origin load, latency by region, TLS errors, DNS changes, cache purges, and unexpected bandwidth patterns.

For performance testing, use a repeatable set of locations and URLs rather than relying on one local browser test. The workflow in the CDN performance testing guide can help separate browser, network, and origin effects.

How to interpret changes

A DNS answer that looks correct does not prove that the CDN is serving the site correctly. Check the full request path.

  • DNS: Confirm the expected A, AAAA, or CNAME answer from several networks. An unexpected IPv6 answer can send some visitors to an unprepared origin.
  • TLS: Check the certificate hostname, chain, expiration, redirect behavior, and any alternate hostnames used by applications or assets.
  • Origin reachability: Review CDN-origin status codes, timeouts, connection errors, and firewall logs. A healthy homepage does not prove that uploads, APIs, or large responses work.
  • Cache behavior: Look for a documented cache-status header or provider equivalent. A first request may be a miss and a later request a hit, so test the same URL more than once without changing its query string.
  • Headers: Confirm that Cache-Control, cookies, Vary, redirects, and security headers survive the proxy as intended. Never cache a response merely because it is fast if it contains user-specific data.
  • Regional performance: Compare time to first byte and total load time by region. A slower region may indicate DNS routing, an edge location issue, origin distance, or a cache miss—not necessarily a failed migration.

If cache hits fall after the move, inspect URL variants, query-string rules, cookies, response headers, and bypass conditions before increasing cache duration. If origin traffic rises suddenly, check whether assets are bypassing the cache or whether a purge removed expected objects. A cache purge should be deliberate, scoped, and logged.

Use the DNS and CDN routing guide when latency differs sharply by region, and review origin shielding only after basic routing and cache rules are understood.

When to revisit

Revisit this checklist after the first day, again after the first week, and then on a monthly or quarterly cadence depending on how often the site changes. A recurring review should compare the same indicators: DNS records, certificate coverage, cache hit ratio, origin request volume, error rates, regional TTFB, bandwidth, and recent purge activity.

Update the migration record immediately when you change providers, add a subdomain, alter firewall rules, renew or replace certificates, introduce a new API, or change cache-control headers. Provider dashboards and terminology may change, so record the actual setting and its purpose rather than relying only on a screenshot or menu name.

Before your next infrastructure change, confirm that rollback contacts, registrar access, DNS exports, origin credentials, certificate validation details, and monitoring links are still available. Then run a small rehearsal: query the important DNS records, request representative URLs from multiple regions, verify a cache hit and miss, and test one authenticated or non-cacheable journey. This short review turns the checklist into a living runbook and makes the next CDN or DNS migration easier to control.

Related Topics

#DNS#CDN migration#Hosting#Infrastructure
C

Cache Cloud Editorial Team

Infrastructure and Performance Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.