The website displays a neat “Under maintenance” page, but the server returns 200. For visitors, this is an explanation; for automated checks, it is a successful HTTP response with different content. After maintenance, the placeholder was removed on the server, but the CDN continues to show it. A formal “release complete” message is not enough to close this work.
A maintenance plan should describe three states: normal operation, temporary restriction, and verified return to service. For each state, specify the URLs, server responses, and decision owner. Separately, document how to test business scenarios. A prepared plan lets you limit maintenance to the necessary routes and detect a forgotten placeholder.
Choose a status for a genuinely temporary state
According to MDN documentation, HTTP 503 indicates that the server is currently unable to handle a request; possible reasons include maintenance and overload. This status is appropriate for temporary unavailability, but without other information it does not explain the reason.
A page that has been permanently removed or moved is a different state. Do not use maintenance mode to mask a permanent removal. Do not permanently redirect every URL to the homepage or a generic placeholder. After maintenance, the original address should serve its content again, unless a move was part of the task.
Check that the status matches the response text. A “We’ll be back soon” message inside 200 does not make the response a temporary server error. If visitors see a placeholder but an automated request receives normal content, record the discrepancy and check routing conditions, authorization, and cache.
Limit maintenance to the necessary URLs
Before work begins, make a list of the affected parts: the whole site, checkout, the account area, or a specific API. Determine which pages can continue working. Updating a payment module does not necessarily require closing the help section and public catalog, but the decision depends on the application’s actual dependencies.
Check the mode boundaries in a test environment. Make sure the placeholder does not intercept files needed to display it and does not create redirect loops. If separate subdomains or regional versions exist, list them explicitly. “Maintenance mode is enabled on the site” is too vague when there are multiple infrastructure environments.
Assign someone to approve enabling and disabling the mode, and set an expected time to review it. If work runs long, make the decision based on the system’s state and set a new review time. An outdated “we’ll be back in five minutes” message adds inaccurate information to a service that is already restricted.
Prepare Retry-After and cache behavior
When recovery time can be estimated, the response can include Retry-After. MDN describes a value in seconds or in HTTP-date format. Specify a realistic interval for reviewing the status. The header does not replace the recovery procedure itself.
The conditional example response indicates temporary maintenance and prohibits storing this placeholder. Verify the configuration on your server and CDN; the snippet does not define every infrastructure rule.
HTTP/1.1 503 Service Unavailable
Retry-After: 300
Cache-Control: no-store
Content-Type: text/html; charset=utf-8Check the actual response through the public domain. Separate CDN rules may generate their own error page or cache it according to their own conditions. Align error settings, cache lifetime, and cache purging. Do not draw conclusions from a single application header if the response passes through several other layers before reaching visitors.
Build a minimal test matrix
Below is a template for a specific release. Set all expected values before enabling the mode; they should match the maintenance boundaries.
| Object | During maintenance | After return to service |
|---|---|---|
| Affected page | 503 and a clear explanation | Normal status and required content |
| Unaffected page | Continues to work | Retains its content |
| Critical API | Agreed temporary failure response | Correct operation response |
| Static resources | Placeholder is readable | Normal resource versions |
| Public domain through CDN | Matches the mode | Placeholder is no longer served |
Add the homepage, a service page, and one nested URL. If a form is being tested, agree on a safe way to test it without making a real purchase or sending a message to a customer. A separate health endpoint does not prove that all the listed routes work: it only checks its own set of conditions.
Save the original responses before maintenance. After service is restored, compare against them, taking planned release changes into account. This helps distinguish a new design from missing content and detect pages that were accidentally left closed.
Account for search crawling without promising a timeline
According to Google’s documentation on status codes, server errors reduce crawl frequency, and URLs that remain in error for a long time may be dropped from use and the search index. Brief maintenance and prolonged unavailability require different management decisions. This rule does not imply a universal safe duration that applies to every site.
For planned work, monitor its duration and the affected URLs. If maintenance continues longer than expected, review the plan, check the logs, and determine whether unaffected parts can be restored. Do not add noindex to live pages for temporary maintenance: it is a separate indexing directive.
Assess data from search tools after checking public responses. A recovered server and recovered search metrics are different events. A Googlebot response in a specific log can help verify crawl access; expecting the previous crawl frequency to return immediately is not a release-readiness criterion.
Confirm content restoration through the public route
After disabling the mode, request the test URLs afresh through the usual public domain. Check the status, final address, page text, and important elements. Verify that the placeholder is absent from both the response and the browser. If you have multiple CDN points of presence, use approved test points with an agreed request load.
A 200 response alone is insufficient: it may belong to an error page or an empty template. The principles for distinguishing these cases are covered in the HTTP status codes guide. For affected business scenarios, record a separate test result for the permitted operation.
If the origin shows a working page but the public address shows the old mode, investigate the CDN and cache. If individual URLs differ, check routing and local rules. Purging the cache completes the operator’s action; a fresh, correct response confirms the result. Record both timestamps in the log.
Share the log with the developer and site owner
The log includes the start of work, mode boundaries, actual responses, changes made, restoration time, and results from the test matrix. Attach a list of outstanding issues. Do not combine maintenance and other errors into a single “site unavailable” task if they have different owners and causes.
For an individual page check, use URL technical analysis as an external response check. Discrepancies require server logs and infrastructure settings. An external tool does not confirm the absence of database errors and does not decide when maintenance is complete.
When monitoring reports an outage, follow the website downtime alert verification procedure. Compare the alert time with the maintenance window and the actual restoration result. A planned cause explains the event, but does not remove the need to verify that users are receiving the required service again.
Close maintenance according to predefined conditions
Close maintenance mode only after checking the affected pages, permitted business operations, public cache, and monitoring. If any item has not been confirmed, assign an owner and the next review time. “The application is running” describes only one stage of recovery.
Keep a brief summary with evidence: when 503 stopped being returned, which URLs were checked, what content was received, and what limitations remain. For a prolonged incident, separately assess search crawling and errors in the logs. This is separate work after the user-facing service has been restored.
For the next release, use the saved matrix as a starting point, updating the URLs and scenarios. A verified maintenance mode consists of a correct temporary response and a confirmed return to service. The team should have concrete evidence of both states so that closing the task matches the behavior of the public website.