Fill the Server: 80% off your first 4 monthly invoices, monthly billing. Ends Nov 30, 2026. 25 spots in this batch.FILL25
Fill the Server, annual: about 29.63% off your first annual invoice. Ends Nov 30, 2026.FILL25Y
Fill the Server, 2 year term: about 15.69% off your first biennial invoice. Ends Nov 30, 2026.FILL25B
Fill the Server, 3 year term: about 11.11% off your first triennial invoice. Ends Nov 30, 2026.FILL25T
80% off your first 3 months, monthly billing. Ends Dec 25, 2027.3MONTHS80
50% off your first annual Shared term. Ends Dec 31, 2027.50SHARED
Shared Starter, 3 year term: C$105.84 total.MOOSE294
20% off your first 3 monthly VPS invoices. Ends Dec 31, 2027.20VPS3
25% off your first annual base VPS term.25VPS

← All guides

Troubleshooting

HTTP 500, 502 and 503 errors explained for website owners

Published August 2026 · 9 min read · Updated 2026-09-09

A browser saying “server error” does not identify the failed component. The useful part of an HTTP status code is that it narrows the layer you should investigate before changing anything.

500 vs 503: internal error vs temporary unavailability

HTTP 500 means the server hit an unexpected condition and could not complete the request. HTTP 503 means the service is currently unavailable, commonly because it is overloaded, in maintenance, or cannot accept work at that moment.

For a 500, start with the application and server logs for the failed request. For a 503, also check service health, worker and resource limits, maintenance state, and any proxy or upstream layer. A 503 response can include a Retry-After header to tell clients when to try again.

500: the application or server hit an internal error

HTTP 500 is a general server-side failure. Common causes include application exceptions, broken configuration, permission problems, failed dependencies, incompatible updates, or code paths that did not handle an unexpected condition.

The next step is usually the relevant application, PHP, web-server, or framework log around the exact time of the request.

502: a gateway could not get a valid upstream response

A reverse proxy may return 502 when the upstream application is stopped, listening on the wrong address, crashing during requests, timing out incorrectly, or returning something the proxy cannot use.

Check both sides of the connection: the proxy configuration and the application process it is trying to reach.

503: the service is temporarily unavailable

HTTP 503 is often used when a service is overloaded, intentionally in maintenance, unavailable behind a proxy, or unable to accept more work. Resource exhaustion and worker limits can also surface as 503 responses depending on the stack.

Collect evidence before restarting everything

Record the exact URL, status code, time, recent deployment or configuration change, resource usage, and relevant logs. Restarting a service can restore traffic, but it can also erase the state that would have explained why the failure happened.

The status code is the beginning of the diagnosis

The same code can have different root causes on different stacks. Use it to choose the next layer to inspect, then confirm the actual failure with logs, process state, dependency checks, and resource data.

Next step

Learn what HTTP 500, 502 and 503 errors usually indicate, which layer to investigate, what evidence to collect, and when restarting a service is not the real fix.

Get DotMoose hosting help

Keep reading

Related guides.

Virtualmin vs cPanel: Which Control Panel Should You Choose?

Virtualmin vs cPanel compared on licensing cost, account and site management, email, DNS, backups and migration, so you can pick the control panel that fits how you host.

Read the guide

How to move web hosting without downtime

Move a website and database with destination testing, final synchronization, controlled DNS cutover, and rollback while preserving separate mail routing.

Read the guide

Easy web hosting for beginners: what makes hosting easy to use?

Easy web hosting gives beginners a clear path to domains, WordPress, HTTPS, email, backups, restores, support and upgrades without requiring server administration.

Read the guide

More web hosting guides

We will handle the move. You check it first.

Your current site stays online until your new one is ready. You approve the copy first, and if anything is not right we switch you back right away. The price you pick is the price you renew at.

Start my free moveSee plans and prices
See pricesFree move