In this article
When a browser or a search bot opens a page, the server first replies with a three-digit number — the response code. It tells you straight away whether all is well: the page was found, has moved, doesn’t exist, or the server is broken. Visitors don’t see the code, but they see its consequences.
What it is
Codes are grouped by their first digit:
| Group | Meaning | Examples |
|---|---|---|
| 2xx | All good, the page was served | 200 OK |
| 3xx | The page is at another address — a redirect | 301 — moved permanently, 302 — temporarily |
| 4xx | Request error: the page doesn’t exist or access is denied | 403 — forbidden, 404 — not found, 429 — too many requests |
| 5xx | Server-side error | 500 — site error, 502/504 — the server didn’t get a reply in time, 503 — unavailable |
How the monitor checks
Impact on the site and business
- 5xx on the home page — the site is down for everyone. Leads and sales stop, ads keep spending the budget.
- 403 for visitors — often over-strict protection: it blocks not only bots but people from a certain country or network.
- 404 on important pages — the visitor leaves, and after a while the search engine removes the page from results.
- Prolonged 5xx errors — search engines crawl less often and may temporarily lower the site in results.
Why it matters
A site can be down without the owner noticing: their browser shows a cached copy while customers get a 502 error. Or the site goes down for 20 minutes every night while the host runs backups, and each time orders from other time zones are lost. Without constant checks such outages go unseen.
Norms
| Rating | Home page code | Comment |
|---|---|---|
| Good | 200, at most one redirect before it | The site works |
| Could be better | 200 after 2 or more redirects | Works, but slower; see the article on redirect chains |
| Bad | 4xx, 5xx or no response | The site is unavailable to visitors |
How to fix it
What to do depends on the code. The most common cases:
500 — internal error
The site’s code broke: a plugin update, an incompatible PHP version, an error in .htaccess. Look at the error log in the hosting panel (“Logs” → error log) — it shows the file and line. If the error appeared right after an update, roll it back or disable the last installed plugin (in WordPress, rename its folder in wp-content/plugins).
502 and 504 — the server didn’t get a reply in time
The web server (nginx) didn’t receive a reply from PHP in time: the site takes too long to think, or PHP-FPM crashed. Causes: heavy database queries, lack of memory, a hung process. Restarting PHP-FPM helps temporarily; the cause of the slowness has to be fixed.
sudo systemctl status php8.3-fpm
sudo tail -n 50 /var/log/nginx/error.log503 — service unavailable
The site is in maintenance mode (WordPress leaves a .maintenance file after a failed update — delete it), or the host has throttled the account’s resources. In the second case check the load in the hosting panel.
403 — forbidden
Wrong file permissions, a rule in .htaccess, a block by the firewall or by protection (Wordfence, Cloudflare). If only the monitor gets 403 while the site opens for you, allowlist the monitor — see the instructions on the “Allowlist the monitor” page.
404 — not found
For the home page this is almost always a configuration failure: the site was moved to another folder, pretty URLs broke (in WordPress “Settings → Permalinks → Save” helps), or the index file was deleted.
General recommendations
- Don’t update the CMS and plugins on a Friday evening, and check the site right after updating.
- Keep a fresh backup so a 500 error after an update can be rolled back in minutes.
- If outages repeat at the same time, look for a scheduled job (backup, cron) running at that time.
FAQ
The site opens for me, but the monitor reports 503. Who is right?
Probably both: you see a copy from the browser cache or Cloudflare, while the real server returns an error. Open the site in incognito mode or from a phone on mobile data.
Which is better for a deleted page — 404 or 410?
Both are fine. 410 explicitly says “gone for good”, and search engines drop such pages faster. If the page has a replacement, a 301 to it is better.
Why isn’t a single failure counted as downtime?
Networks occasionally lose individual requests. A repeat check after 5 seconds filters out such flukes, so alerts are only sent about real problems.