A safe production release is more than copying files to a server. This website deployment checklist gives you a repeatable workflow for comparing environments, validating configuration and database changes, checking browser and accessibility behavior, monitoring the release, and preparing a rollback before users encounter a problem.
Overview
Deploying website changes safely means reducing avoidable differences between development, staging, and production while making each release observable and reversible. The exact commands depend on your hosting stack, framework, CMS, and deployment method, but the decision points are broadly similar for a static site, a WordPress installation, or a cloud application.
Use staging as a production-like verification environment whenever possible. It should use the same supported runtime family, build process, important integrations, and deployment configuration as production. It does not need identical data or capacity, but differences should be documented rather than discovered during a release.
This workflow works for scheduled releases, emergency patches, client handoffs, migrations, and post-incident reviews. Keep the checklist with the project repository or release documentation, and record exceptions when a step cannot be completed.
| Environment | Primary purpose | Typical data | Key controls |
|---|---|---|---|
| Development | Build and test individual changes quickly | Local, synthetic, or anonymized data | Debug logging, isolated credentials, rapid experimentation |
| Staging | Validate the release before publication | Representative but non-production data | Production-like runtime, protected access, release smoke tests |
| Production | Serve real users and business processes | Live data and user-generated content | Least privilege, backups, monitoring, alerting, rollback plan |
What to track
1. Release scope and approvals
Start with a short release record: version or commit identifier, change summary, owner, planned deployment window, affected URLs or services, and rollback owner. Link the relevant issue or pull request. Confirm that unfinished work is excluded and that any content, DNS, payment, email, or third-party integration changes have an identified owner.
For a small site, this may be a simple checklist in your project notes. For a larger application, use the release controls already provided by your repository or deployment platform. The goal is traceability: you should be able to answer what changed, when it changed, and which version was active before it.
2. Configuration and secrets
Compare configuration keys across development, staging, and production before deployment. Check database connection details, application URLs, storage locations, mail settings, API endpoints, feature flags, cookie settings, and allowed origins. Production credentials should come from a secret manager or protected hosting configuration, not from committed source files.
Check for environment-specific values that are easy to overlook, such as canonical URLs, robots directives, analytics identifiers, webhook destinations, and debug settings. Production should not accidentally point to a staging database or expose verbose error output. Never copy a production secret into a local or shared test environment unless there is a documented, controlled reason.
3. Database changes and migrations
Identify whether the release changes schema, indexes, seed data, permissions, or application assumptions. Take a verified backup before a destructive or difficult-to-reverse migration, and confirm how restoration would work. A backup is not a rollback plan unless you know where it is stored and have tested the restore process; see the website backup strategy and restore testing guide.
Prefer backward-compatible database changes when the application and database cannot be updated atomically. For example, add a nullable column before deploying code that writes to it, then remove obsolete structures in a later release after confirming they are unused. Estimate migration duration, lock behavior, and expected load, particularly on a busy production database.
4. Build output, assets, and dependencies
Run the same build process used by the deployment system and confirm that the output contains required JavaScript, CSS, images, fonts, server bundles, and source maps according to your debugging policy. Check that asset paths work from the production domain and that case-sensitive file names are correct. Review dependency changes, supported runtime versions, and lockfiles rather than relying on whatever happens to be installed on a developer machine.
For WordPress or another CMS, include themes, plugins, media handling, scheduled jobs, and uploaded files in the release plan. A code deployment may not include user uploads, and replacing production content with a staging database can destroy newer data. Use a documented staging workflow for updates and test the parts of the site that depend on extensions or custom integrations.
5. Permissions, domains, and transport security
Verify file, directory, process, and database permissions using the least privilege required by the application. Confirm that the deployment user can publish the release but cannot perform unrelated administrative actions. Check that the production domain, DNS records, certificate, redirects, and trusted host settings point to the intended service. If the domain or DNS is changing, use the domain connection and DNS troubleshooting guide as a separate runbook.
Confirm HTTPS behavior, HTTP-to-HTTPS redirects, security headers, authentication boundaries, and any maintenance page behavior. Do not assume that a valid certificate proves the application is correctly configured.
6. Cache behavior
Document which caches exist: browser cache, CDN or edge cache, reverse proxy, page cache, object cache, and application cache. Decide whether the release requires invalidation and which URLs or keys should be cleared. Purging everything may increase origin load, while purging too little can leave users with old HTML or assets.
Use versioned or fingerprinted assets where supported, and verify that a new page references the new asset versions. After deployment, test both a fresh request and a repeat request with the expected cache headers.
7. Smoke tests and user journeys
Prepare a short production smoke-test list before pressing deploy. It should cover the home page, a representative content page, navigation, forms, authentication if applicable, search, checkout or lead capture, email notifications, file uploads, and any critical API request. Test from a clean browser session and, where relevant, from a mobile viewport.
Include browser console errors, broken images, layout shifts, keyboard navigation, visible focus, form labels, heading structure, contrast, and useful error messages. A release can pass a server health check while failing an essential user journey. For performance concerns, compare the release with a known baseline and investigate server or Core Web Vitals changes using the slow hosting diagnostic guide.
Cadence and checkpoints
Use the following sequence for each release, adjusting the depth to match risk:
- Before merge: run automated tests, inspect the change, review dependency and configuration differences, and confirm the supported runtime version.
- Before staging deployment: confirm a clean build, migration order, test data, required secrets, and a deployment artifact or commit identifier.
- In staging: run functional, browser, accessibility, integration, and migration checks. Confirm logs are useful and that monitoring captures the important service signals.
- Before production: take or verify the required backup, confirm the rollback version, record current health metrics, check access permissions, and notify affected stakeholders.
- During production deployment: publish through the approved process, watch logs and resource usage, apply migrations in the planned order, and avoid unrelated maintenance.
- Immediately after: run smoke tests, verify cache behavior, inspect error rates and important transactions, and confirm the expected version is serving.
- After the observation window: close the release only when monitoring remains normal. Record incidents, manual fixes, skipped checks, and follow-up work.
Review the checklist monthly or quarterly even when releases are less frequent. Confirm that deployment commands, hosting dashboards, runtime versions, browser coverage, accessibility checks, alert destinations, and rollback procedures still match the platform. This is particularly important after a hosting migration, CMS update, DNS change, or change from manual publishing to one-click deployment.
How to interpret changes
Do not judge a release by a single green check. Compare current observations with the pre-deployment baseline: response times, HTTP status codes, error logs, queue depth, CPU and memory use, database load, cache hit behavior, form submissions, and business-critical transactions. A small increase in one metric may be expected; a simultaneous change in several signals deserves investigation.
Separate code defects from infrastructure and configuration problems. A new 500 response may indicate an application error, a missing environment variable, a permissions change, or an incompatible runtime. A slow page may result from a database query, cold cache, server capacity, or an external service. Use timestamps and the release identifier to correlate symptoms rather than guessing from the front end alone.
If smoke tests fail, stop promotion and assess whether the issue is isolated or widespread. If the release is causing user impact and the previous version is known to be safe, use the prepared rollback path. A rollback may mean switching an immutable deployment, restoring the previous container or artifact, reverting a configuration value, or applying a planned database compatibility step. Do not automatically restore a database backup when it could erase valid data created after deployment; escalate that decision and follow the documented recovery plan.
After recovery, preserve logs and record the timeline. The error log triage workflow can help organize 404, 500, PHP, and slow-request findings. The objective is not to assign blame but to improve the next checklist, test, alert, or rollback procedure.
When to revisit
Revisit this production deployment checklist before every release and perform a broader review at least twice a year. Update it sooner when the hosting stack, deployment provider, CMS, framework, runtime, database engine, CDN, DNS arrangement, authentication system, or observability tools change.
Use a quarterly checkpoint to confirm that staging still resembles production, backups can be restored, monitoring reaches the right people, and the rollback version is available. Use a monthly operational check for active sites to review failed deployments, recurring error patterns, certificate and domain dependencies, cache behavior, uptime signals, and capacity trends. Domain and SSL dates can be tracked alongside deployment responsibilities using a domain operations calendar.
Before your next release, copy this article into a project checklist and fill in the platform-specific commands, owners, URLs, health checks, runtime versions, and rollback steps. Mark each item as complete, not applicable, or blocked. That small record turns deployment from a one-time act into a repeatable release process that can scale with the site.