A safe website deployment is a controlled change, not just a successful upload. This runbook gives small teams a reusable pre-deployment checklist, scenario-specific checks, a release sign-off template, smoke-test matrix, rollback decision tree, and post-release workflow for static sites, content management systems, and web applications.
Overview
A deployment runbook turns release work into a repeatable process. It should answer five practical questions before a change reaches visitors:
- What is changing?
- Which environments, services, and people are affected?
- How will the team verify that the release works?
- What evidence will trigger a rollback?
- How will the team restore service if the first rollback option is unavailable?
Keep the runbook close to the code or project documentation, and update it when deployment commands, supported runtime versions, hosting settings, plugins, integrations, or database procedures change. A checklist is most useful when it reflects the environment that actually runs the website—not an old tutorial or a default configuration.
Before a scheduled release, confirm that a current backup and a tested restore path exist. A backup that has never been restored is an assumption, not a complete recovery plan. For a broader retention and recovery process, see this website backup and restore plan.
Checklist by scenario
For every website deployment
- Define the release: Record the change summary, ticket or issue reference, expected user impact, deployment owner, reviewer, and planned release window.
- Confirm the target: Identify the production project, branch, deployment pipeline, hosting account, domain, CDN configuration, and environment variables involved.
- Check the build: Run the project’s documented install, test, lint, and build commands using the runtime and package versions intended for production. Do not assume a local development environment matches the hosting environment.
- Review configuration: Verify production API endpoints, secret references, feature flags, allowed origins, redirect rules, headers, email settings, and logging destinations. Never place credentials in source files or public build output.
- Confirm recovery: Check the latest backup timestamp, backup scope, retention point, and restore permissions. Record who can approve and perform a rollback.
- Prepare monitoring: Decide which health checks, logs, uptime checks, analytics signals, error alerts, or support channels will be watched after release.
- Communicate: Tell affected stakeholders when the deployment starts, what success looks like, and where incidents will be coordinated.
Static sites and website builders
For a static site or a site published through a website builder, concentrate on generated output, domain behavior, and caching. Before publishing:
- Preview every changed template, page, navigation item, form, image, and downloadable file.
- Confirm the production build uses the intended base URL, canonical settings, robots directives, sitemap, and structured data where applicable.
- Check that asset paths work on nested URLs and that old URLs either remain valid or have intentional redirects.
- Verify custom-domain settings, DNS records, HTTPS, and certificate status. Use the HTTPS and SSL certificate maintenance checklist for a separate certificate review.
- Purge or invalidate CDN and site-builder caches only after the new files are available at the origin or deployment target.
- Keep the previous published build available if the platform supports versioned releases or instant republishing.
CMS and WordPress-style deployments
CMS releases can change both application code and editorial data. Separate those concerns where possible:
- List core, theme, plugin, extension, and configuration changes individually.
- Check compatibility with the supported runtime version and the current database version before updating production.
- Take a database and file backup immediately before a change that modifies content, schema, uploads, or extensions.
- Test administrator login, publishing, media uploads, forms, search, checkout or booking flows, and scheduled tasks where relevant.
- Confirm that maintenance mode, cache settings, security controls, and CDN rules will not hide the result of testing.
- Document whether a plugin or theme can be downgraded safely. If it changes database data, a file rollback alone may not reverse the change.
Web applications and database changes
Application deployments need an explicit compatibility plan. Record the application version, runtime, dependency lockfile, worker processes, queues, scheduled jobs, storage mounts, and database migration identifiers.
Prefer migrations that are backward compatible with the previous application version when the platform permits it. A safer sequence is often to add a nullable field or new table, deploy code that can work with both schemas, backfill data in a controlled way, and remove obsolete structures only after the old version is no longer needed. Treat destructive migrations, data transformations, and long-running backfills as separate operations with their own approval and recovery plans.
For resource decisions before a larger release, review the cloud hosting resource sizing guide. A deployment can be technically correct yet still fail if memory, storage, CPU, database connections, or transfer capacity are insufficient for the expected workload.
Release sign-off template
Copy this short record into the release ticket:
- Release: version, commit, build, or published revision
- Scope: pages, services, integrations, data, and infrastructure affected
- Validation: tests completed and links to preview or staging results
- Backup: timestamp, location, retention point, and restore owner
- Rollback: exact action, estimated duration, and known limitations
- Approvals: implementer, reviewer, business owner if needed
- Decision: approved, postponed, or rejected, with the reason
What to double-check
Use a smoke-test matrix
Smoke tests should be short, repeatable, and tied to user impact. Record pass, fail, or not applicable for each item.
| Area | Test | Failure signal |
|---|---|---|
| Availability | Open the homepage and one representative deep URL | Timeout, server error, blank response, or redirect loop |
| Navigation | Follow primary navigation, internal links, and a changed route | Broken link, wrong destination, or unexpected access restriction |
| Forms | Submit a test contact, signup, or transaction form | No confirmation, duplicate submission, or missing notification |
| Authentication | Log in, log out, and test a permitted user action | Failed session, incorrect permissions, or inaccessible account |
| Data | Read and write a representative record where appropriate | Missing data, validation error, corruption, or stale output |
| Assets | Load images, scripts, stylesheets, fonts, and downloads | 404 response, mixed content, broken layout, or blocked asset |
| Performance | Check key pages from the normal delivery path | Unexpected latency, cache failure, or resource exhaustion |
Use a separate CDN and website performance checklist when the release changes images, caching, compression, scripts, or delivery rules. For high-traffic sites, compare the result with the team’s performance budget rather than relying only on whether the page loads.
Use a rollback decision tree
- Is the issue confirmed and release-related? If not, pause, gather logs, and check for unrelated infrastructure, DNS, provider, or third-party failures.
- Is there active user or data risk? If yes, protect users first: disable the affected feature, stop a harmful job, or place the system in a safe operating mode.
- Can the previous application or site revision be restored without data loss? If yes, use the documented revision rollback and verify it. If no, do not improvise a database reversal.
- Does the change include an irreversible migration? If yes, follow the migration-specific recovery plan. Restore from a known-good backup only after understanding the data-loss window and obtaining the required approval.
- Has service recovered? Repeat the smoke-test matrix, check logs and alerts, and communicate the result before closing the incident.
Rollback limitations should be written down before deployment. Examples include database schema changes, sent emails, external API side effects, uploaded files, cache propagation, and user actions that cannot be undone.
Common mistakes
- Testing only the homepage: Deep links, forms, authentication, and scheduled jobs often fail outside the main route.
- Assuming a backup equals a rollback: A backup may restore data but not application configuration, DNS, cache state, or external side effects.
- Changing several unrelated things at once: Small, identifiable releases make failures easier to diagnose and reverse.
- Skipping environment comparison: Different runtime versions, environment variables, extensions, permissions, or build commands can produce different results.
- Purging caches too early: Clear delivery caches only after confirming that the origin serves the intended release.
- Relying on an individual’s memory: Store commands, owners, access requirements, and recovery steps in the runbook so another authorized person can act.
- Declaring success immediately: Some failures appear only after a scheduled task, queue, form notification, or real user journey runs.
When to revisit
Review this runbook before seasonal planning cycles, major campaigns, platform migrations, and any change to hosting, deployment tooling, DNS, CDN rules, runtime versions, databases, plugins, or backup settings. Also revisit it after every rollback, failed release, security fix, or incident; the event often reveals a missing check or unclear ownership.
At least quarterly, run a short process review. Confirm that deployment commands still work, supported runtime versions are recorded, access permissions are current, backups can be restored, and the rollback path matches the present architecture. Recheck the hosting plan when traffic, storage, media volume, or application workload changes; the cloud hosting cost optimization guide can support that review.
Before the next release, assign one person to perform the checklist and another to review the evidence. Start with the release scope, verify the backup, run the relevant scenario checks, and write the exact rollback action into the ticket. After deployment, complete the smoke-test matrix, record the outcome, and schedule a follow-up for any unresolved item. That small discipline turns a one-time deployment checklist into a dependable operating habit.