ARTICLE - Dev Stack & Tools

Website Launch and Cutover Checklist

A failed cutover is usually an order problem, not a release problem: a 3600 s TTL keeps serving old records for an hour. Write the pass criteria first, then schedule the steps.

2026-11-26 16IDC Original 28 views
Advertisement

A cutover rarely fails because of the release itself. It fails because the checks run out of order: records change while DNS caches still hold the old answer, a certificate is inspected as a file instead of at the endpoint, and the rollback script has never been executed.

Every step below is tied to a pass criterion: what you must see, who runs it, and which layer to inspect when it fails. Thresholds belong to your own SLO and change window; this guide supplies the calculation basis and the verification method.

30-second selection verdict:

  • Criteria first, schedule second: a check without a pass criterion is a to-do item, and it is the first thing skipped on launch day.
  • TTL sets the observation floor: stale answers persist for up to the TTL carried before the switch, so with a 3600 s TTL, resolver disagreement within the first hour is normal.
  • Lower the TTL one period ahead: cutting 3600 s to 60 s requires waiting the full 60 minutes for cached values to expire, or some resolvers keep the old answer for an hour.
  • Rollback means a rehearsed order: application releases, DNS, schema and caches revert differently, and an untested backup is not a rollback plan.

Change Window Sequence and Prerequisites

The table below maps each stage to an action and a pass criterion; criteria were checked on 2026-11-29. The order is reusable, while the timing depends on TTL, approvals and traffic patterns. The blast radius spans four layers — resolution, certificates, application and cache — and any layer that has not converged shows users old content or a certificate error.

Cutover window and stale-record window (3600 s TTL) Prepare Preflight Switch Observe Stale up to 60 min Prepare Preflight First pass Observe Stale -3 -2 -1 0 1 2 3 Hours from cutover
Figure 1: Cutover window and stale-record window (Source: schematic for a 3600 s TTL per RFC 1035 semantics; blocks show stage order and the stale window equals the TTL carried before the switch)

The horizontal axis counts hours relative to cutover, and the orange marker marks the switch itself. The stale window overlaps the first verification pass, so an old answer inside it is expected: check the authoritative record before changing anything.

Stage Key actions Pass criteria Failure symptom
Prepare Record authoritative NS, A/AAAA/CNAME and TTL, then freeze the release and secret source The plan matches authoritative records line by line, and staging credentials never reach production A wrong record value or build is discovered only after cutover
Preflight Verify certificate, canonical host and redirects per hostname, then rehearse rollback in staging The live endpoint completes validation and the rollback list runs once Browsers report certificate errors, or redirects loop
Cutover Cross-check authoritative NS and several resolvers, then run critical journeys Authoritative records hold the target values and journeys return 2xx with reversible test data One resolver's stale answer is mistaken for a failed cutover
Observe Compare origin and edge cache headers, error rate and certificate expiry Edge Age stays below origin max-age and the version marker is the new build Users see an old page and the whole cache is purged first

Parameters to Fix Before Cutover

Four parameters decide whether the cutover converges in one pass: TTL, certificate coverage, canonical host and release version. The table was checked on 2026-11-29, and the last column states the cost rather than the benefit.

Parameter How to fix it Pass criteria Cost
DNS TTL Lower the TTL to the target value and wait one old TTL period dig +noall +answer shows the planned TTL A 60 s TTL makes resolvers re-query every minute, raising authoritative load and making resolver flapping visible
TLS certificate Cover every public hostname, including apex and www openssl s_client reports Verify return code: 0 More aliases mean more names to validate on issue and renewal, and DNS-01 validation depends on the _acme-challenge record
Canonical host Define one hop each for apex, www, HTTP and HTTPS curl -sSI returns a single Location that lands on the final host Mapping old URLs one by one needs a maintained table, while a blanket homepage redirect drops the original paths
Release version Expose a readable build marker in the production response The build id in the page or header matches the pipeline record A 200 on the homepage cannot tell two builds apart, so the marker has to be exposed

HSTS is the one irreversible item in this table: once a browser receives Strict-Transport-Security, it forces HTTPS for the number of seconds in max-age, and rolling back a release will not undo the cached policy.

Preload has a higher bar: the requirements include max-age of at least 31536000 seconds, includeSubDomains, and HTTPS on every subdomain, while new entries can take several months to reach a stable Chrome release. That is why hstspreload.org explicitly asks projects not to ship the preload directive by default (checked 2026-11-29).

Run Read-Only Checks After Cutover

The script only queries DNS, TLS and HTTP responses; it changes nothing on the live system. Replace HOST with the hostname being cut over, and have dig, curl and openssl available.

set -euo pipefail

HOST="${HOST:?Set HOST to the production hostname}"

printf '%s\n' "== DNS answers =="
dig +noall +answer A "$HOST"
dig +noall +answer AAAA "$HOST"

printf '%s\n' "== TLS handshake =="
openssl s_client -connect "${HOST}:443" -servername "$HOST" </dev/null 2>/dev/null |
  awk '/subject=|issuer=|Verify return code/'

printf '%s\n' "== HTTPS response =="
curl -sS -o /dev/null -w 'status=%{http_code} remote_ip=%{remote_ip}\n' \
  "https://${HOST}/"

printf '%s\n' "== HTTP first response =="
curl -sS -o /dev/null -w 'status=%{http_code} redirect=%{redirect_url}\n' \
  "http://${HOST}/"

What to verify: A and AAAA answers match the planned records, openssl prints Verify return code: 0 (ok) with a subject covering the hostname, and HTTPS returns the expected 2xx while the HTTP first hop redirects to the canonical host. An empty redirect means the domain has no HTTP-to-HTTPS hop configured at all.

If any line differs, stop at that layer instead of pushing on. With an anycast or proxied CDN, the resolved edge address is not the origin IP.

Troubleshoot in Dependency Order

Work from the outside inward, change one variable at a time and keep the previous values. Criteria in this table were checked on 2026-11-29.

Symptom Check first Next action
Old address, or different answers between resolvers Authoritative NS, record values, TTL and recursive caches Confirm the authoritative records, then watch through the cache lifetime instead of editing records after one resolver result
TCP timeout or refused connection Destination, listening port, firewall, security group and CDN origin settings Test the entry point from an allowed network, then confirm the origin process listens on the expected port
HTTPS certificate error SNI, hostname coverage, expiry, chain and client trust store Test the live endpoint with openssl s_client, fix the served chain, then repeat
502 or 504 responses Proxy upstream, process state, port and application logs Verify health checks and the upstream connection from the origin side, then repeat the same request
Correct status but stale or partial content Release version, HTML cache headers, CDN Age and browser cache Confirm the origin version first, purge the affected URL at the matching layer, then re-request
Staging URLs appear, or pages stay unindexed Production HTML, response headers, robots.txt, canonical and sitemap Fix the live signals and verify with URL inspection, since indexing reports lag behind

Rollback follows triggers approved before the change: a failed critical path, a data-integrity risk or an SLO breach. Confirm that schema migrations are reversible and that new writes will not be overwritten, then follow the rehearsed dependency order.

Pre-launch Checklist

Criteria below were checked on 2026-11-29. Stop at the first failed item instead of continuing down the list.

  • DNS records: compare A/AAAA/CNAME against the plan on the authoritative NS and confirm the TTL dropped to the target (criterion: dig +noall +answer matches the plan line by line).
  • Certificate coverage: check validity, name matching and chain for every public hostname (criterion: openssl s_client reports Verify return code: 0).
  • Canonical host: apex, www and HTTP-to-HTTPS each take exactly one hop (criterion: curl -sSI returns a Location pointing at the final host).
  • Release version: the production build marker equals the target build (criterion: build id in the page or header matches the pipeline record).
  • Critical journeys: sign-in and key read/write paths pass with a test account (criterion: endpoints return 2xx and test data can be rolled back).
  • Cache layers: origin and edge agree on Cache-Control and Age (criterion: edge Age below origin max-age with the new build marker present).
  • Indexing signals: production pages carry no noindex, robots.txt does not block public content, and canonical plus sitemap point at production URLs (criterion: compare robots.txt and page canonical by hand).
  • Rollback drill: the previous stable release is deployable and compatible with the current schema (criterion: one pass through the rollback list in staging restores critical paths).
  • Mail records (conditional): when the change touches the domain or DNS hosting, check MX, SPF, DKIM and DMARC (criterion: a message from an authorized mailbox passes SPF and DKIM and returns a DMARC alignment pass).

For the indexing path see how to diagnose an unindexed page, and for recovery order see the backup and restore runbook.

FAQ

How long after a DNS change can I confirm the cutover?

You should wait one full original TTL before comparing answers. Then compare authoritative records with several resolvers: with a 3600 s TTL, stale answers persist for up to 60 minutes, and resolver disagreement inside that window is expected. If name servers changed, also confirm that the registrar delegates to the new authoritative pair, because one resolver returning the new address does not prove global convergence.

Does a TLS chain have to return exactly two certificates?

No. A chain does not have a fixed certificate count, and the real test is whether the client builds a trusted path. Validate against the live endpoint, where openssl s_client -servername shows a subject covering the hostname and Verify return code: 0. A missing intermediate can surface differently in browsers and command-line tools, so check both before calling it fixed.

Why do some users still see the old page after launch?

Check the origin first, then the CDN, then the browser. Compare version markers and Age between origin and edge, confirm the origin serves the new build, then purge the affected URLs at the layer that is actually stale. If a single user is affected, a hard refresh that fixes it points to the browser cache, so no purge is needed.

When should I roll back instead of fixing forward?

Use the triggers written before the change, such as an unusable critical path, a data-integrity risk or an SLO breach. Before reverting, confirm that schema migrations are reversible and that new writes survive, then follow the rehearsed order. Application rollback is usually fastest, DNS rollback is slowed by TTL, and schema rollback carries the highest cost.

Next Steps and Providers Reviewed

  • Cloudflare: evaluate when DNS hosting, edge caching and HTTPS policy live in one console, so resolved answers and edge headers are checked in the same place.
  • Uptime Kuma: evaluate when HTTP status and certificate expiry must be monitored from a host separate from the site, giving an external probe point.
  • Vercel: evaluate when the team uses preview deployments to verify the target build and key paths before production traffic moves.

References and Verification Log

  • RFC 1035: Domain Names: TTL field and cache retention semantics behind the stale-record window; checked 2026-11-29.
  • RFC 5280: Internet X.509 PKI: certificate path validation rules behind the trusted-chain criterion; checked 2026-11-29.
  • web.dev: HTTP caching: max-age, Age and revalidation behavior in browsers and shared caches; checked 2026-11-29.
  • Cloudflare Cache docs: edge cache layers and dashboard purge entry points used in the cache troubleshooting order; checked 2026-11-29.

Pass criteria and observation windows depend on your SLO, change window and traffic pattern; the TTL and durations here illustrate check order, and the reviewed change plan governs the real cutover.

Related Guides

Original source: 16IDC Original ↗