The 503 Service Unavailable error means the server cannot handle the request at that moment. It is usually temporary: the server may be under maintenance, have more load than it can process or depend on a service that is not responding. The code alone does not identify the cause.
If you are only visiting the page
Wait a little and reload. If the site shows a maintenance page or an estimated time, follow that guidance. If the problem persists, contact the owner and include the URL, the time and a screenshot of the message. Clearing cookies does not usually fix a server-side 503.
If you administer the site
Investigate from the edge towards the origin and avoid blind changes:
- Check whether it affects the whole site or one route. Try the home page and a simple route; compare from another network and check the provider’s status page if it has one.
- Look at the logs around the time of the error. Correlate the proxy or web server log with the application’s. Look for processes restarting, concurrency limits, timeouts and database connection errors.
- Check resources and dependencies. CPU, memory, a full disk, exhausted connections, queues and external services can leave the application unable to respond.
- Review recent changes. If the error began after a deployment or a modification, compare the configuration and consider returning to the last known stable version.
- Return a useful response. If you know the service is temporarily unavailable, a
Retry-Afterheader can indicate when to try again. Do not turn an outage into a response that is cached for a long time.
A 503 is not the same as a 500 (generic internal failure), a 502 (invalid response received by a gateway) or a 504 (the gateway timed out). A proxy can generate the 503 even if the application never received the request.
How to reduce the chance of another outage
Set load limits, monitor resource use, test dependencies and keep a maintenance page ready for deployments. If the site needs a managed PHP application, review what Sites includes; if it needs its own processes and configuration, compare VPS plans and plan who will maintain the system.
The HTTP specification describes 503 as temporary unavailability. The specific cause lies in the infrastructure and logs serving your site.
Related reading: 4 Linux distributions for a server or VPS.