# HTTP status codes explained: 403, 404, 500, 503 and Cloudflare 52x errors

> Plain-English guide to HTTP status codes (2xx to 5xx, plus Cloudflare 520–526) and which ones mean a website is actually down.

Source: https://checkifsitedown.com/guides/http-status-codes-explained

By [Werner](https://checkifsitedown.com/about#editor) Reference 7 min read Updated 15 October 2026

Every time your browser asks a website for a page, the server replies with a three-digit status code before it sends anything else. Most of the time you never see it. When something goes wrong, that number is the quickest way to understand what happened — and whether the website is actually down.

![Chart of HTTP status code families: 2xx, 3xx and 4xx mean the site is up; 5xx and no reply mean it is down](https://checkifsitedown.com/assets/img/guide-status-codes.svg?v=1.9.13)

## The five families of status codes

The first digit tells you the family, and the family tells you most of the story:

| Family | Meaning | Is the site up? |
| --- | --- | --- |
| **1xx** | Informational — "keep going" | Yes |
| **2xx** | Success — the page was delivered | Yes |
| **3xx** | Redirect — the page lives somewhere else | Yes |
| **4xx** | Client error — the server refused or couldn't find what was asked for | Yes, the server is answering |
| **5xx** | Server error — the website itself is failing | No, a real outage |

The key insight: **a 4xx code means the website is working.** The server is online and making decisions — it just decided not to give you that particular page. A 5xx code is different: the server knows something has gone wrong on its side.

## Success and redirects: 200, 301, 302, 304

- **200 OK** — everything worked.
- **301 Moved Permanently / 308 Permanent Redirect** — the page has a new permanent address, such as `http://` moving to `https://`. Browsers follow these automatically.
- **302 Found / 307 Temporary Redirect** — a temporary detour, often to a login or country-specific page.
- **304 Not Modified** — your browser's saved copy is still current, so nothing new was sent.

## Client errors: 400, 401, 403, 404, 410, 429

- **400 Bad Request** — the server couldn't understand the request. Clearing the site's cookies often fixes it.
- **401 Unauthorized** — you need to log in.
- **403 Forbidden** — the server understood but won't allow it. Common reasons: you need permission, your country or network is blocked, or bot protection decided the request looked automated. Large sites behind services like Cloudflare often send 403 to scripts and checkers while serving people normally.
- **404 Not Found** — nothing exists at that address. Usually a typo or a deleted page. Some sites also answer automated visitors with 404 — so a 404 from a checker doesn't mean the site is down.
- **410 Gone** — like 404, but the site is saying the page was removed on purpose.
- **429 Too Many Requests** — you (or your network) sent too many requests in a short time. Wait a minute and try again. More in our [error 429 guide](https://checkifsitedown.com/guides/error-429-too-many-requests).

## Server errors: 500, 502, 503, 504

- **500 Internal Server Error** — a general failure inside the website's software. Nothing you can do except wait. [More on error 500](https://checkifsitedown.com/guides/error-500-internal-server-error).
- **502 Bad Gateway** — a front-line server (a load balancer or CDN) got a broken answer from the server behind it.
- **503 Service Unavailable** — the server is overloaded or down for maintenance. One exception: some bot-protection systems use 503 for their "checking your browser" pages, which is why [CheckIfSiteDown](https://checkifsitedown.com/) looks at the page content before calling a 503 an outage.
- **504 Gateway Timeout** — the front-line server waited too long for the server behind it.

Not sure which of 502, 503 and 504 you're looking at? See [502 vs 503 vs 504: the difference explained](https://checkifsitedown.com/guides/502-vs-503-vs-504).

## Cloudflare 520–530 errors

Millions of websites sit behind Cloudflare, which forwards visitors to the site's own server (the "origin"). When Cloudflare can't get a proper answer from that origin, it shows its own error page with a code in the 520s. These all mean the website is down, even though Cloudflare itself is working:

| Code | What happened |
| --- | --- |
| **520** | The origin sent back an empty, unknown or unexpected response. |
| **521** | The origin refused the connection — its web server is off or blocking Cloudflare. |
| **522** | Connecting to the origin timed out. [How to fix error 522](https://checkifsitedown.com/guides/error-522-connection-timed-out). |
| **523** | The origin can't be reached at all, often a DNS or routing problem. |
| **524** | The origin connected but took too long to send a response. |
| **525** | The secure (SSL) handshake between Cloudflare and the origin failed. |
| **526** | The origin's SSL certificate is invalid. |
| **530** | Cloudflare can't find or reach the origin, often because of a DNS problem. It's shown together with a Cloudflare "1xxx" error code. |

## When there's no code at all

Sometimes there's no status code because the server never answered. These are the clearest signs of an outage (browsers show them as errors like `ERR_CONNECTION_TIMED_OUT`; see our [browser error guide](https://checkifsitedown.com/guides/this-site-cant-be-reached-errors-explained)):

- **DNS failure** — the domain name doesn't point anywhere. It may have expired, or its DNS settings are broken.
- **Connection refused** — the machine exists, but no web server is running on it.
- **Timeout** — no reply within a reasonable time; the server may be overloaded or unreachable.
- **SSL/TLS error** — the secure connection can't be set up, usually because of an expired or mismatched certificate.

## A rule of thumb

2xx and 3xx: working. 4xx: working, but it said no. 5xx, 52x, or no answer at all: genuinely down. When you're not sure which you're looking at, run the address through [the checker](https://checkifsitedown.com/) — it translates the code into plain English for you.

About the editor

Werner Editor, CheckIfSiteDown

Werner is a software engineer with a BSc in Computer Science and an avid interest in computer science, AI, programming and technology. He edits the guides on CheckIfSiteDown.

## More guides

- [500 Internal Server Error and "This page isn't working": what happened and what to do](https://checkifsitedown.com/guides/error-500-internal-server-error): 7 min read
- ["Site not allowed" and "This site is blocked": who's blocking you and what to do](https://checkifsitedown.com/guides/site-not-allowed): 6 min read
- [What is my IPv4 address, and why do I have an IPv6 address too?](https://checkifsitedown.com/guides/what-is-my-ipv4-address): 6 min read
- [WebRTC leaks explained: what they are, how to test for one and how to fix it](https://checkifsitedown.com/guides/webrtc-leaks-explained): 6 min read
- [Error 440 "Login Time-out": what it means in Outlook Web Access and how to fix it](https://checkifsitedown.com/guides/error-440-login-timeout): 6 min read
- [Error 494 "Request Header Or Cookie Too Large": what it means and how to fix it](https://checkifsitedown.com/guides/error-494-request-header-too-large): 6 min read
- [Error 530 and Cloudflare error 1016: what they mean and how to fix them](https://checkifsitedown.com/guides/error-530-origin-dns-error): 6 min read
- [Error 403 Forbidden: why you're blocked and how to fix it](https://checkifsitedown.com/guides/error-403-forbidden): 6 min read
- [DNS_PROBE_FINISHED_NXDOMAIN: what it means and how to fix it](https://checkifsitedown.com/guides/dns-probe-finished-nxdomain): 6 min read
- [ERR_CONNECTION_REFUSED: what it means and how to fix it](https://checkifsitedown.com/guides/err-connection-refused): 6 min read
- [Error 522 "Connection timed out": what it means and how to fix it](https://checkifsitedown.com/guides/error-522-connection-timed-out): 6 min read
- [Error 429 "Too Many Requests": what it means and how to fix it](https://checkifsitedown.com/guides/error-429-too-many-requests): 6 min read
- [502 vs 503 vs 504: what's the difference between these server errors?](https://checkifsitedown.com/guides/502-vs-503-vs-504): 6 min read
- ["This site can't be reached": browser connection errors explained and fixed](https://checkifsitedown.com/guides/this-site-cant-be-reached-errors-explained): 8 min read
- [Websites not working abroad? How to fix geo-blocks, banking and streaming when you travel](https://checkifsitedown.com/guides/websites-not-working-abroad): 7 min read
- [Website blocked on school, work or public Wi-Fi? Why it happens and what you can do](https://checkifsitedown.com/guides/websites-blocked-on-school-work-public-wifi): 8 min read
- [How to change your DNS server on Windows, Mac, iPhone, Android and your router](https://checkifsitedown.com/guides/how-to-change-dns-server): 7 min read
- [Website up but blocked for you? How a VPN gets you through (and when it won't)](https://checkifsitedown.com/guides/website-blocked-try-a-vpn): 7 min read
- [Why website checkers report false "down" results — and how to read them](https://checkifsitedown.com/guides/why-site-checkers-get-false-down-results): 6 min read
- [Is it down for everyone or just me? A 60-second troubleshooting guide](https://checkifsitedown.com/guides/is-it-down-or-just-me): 5 min read
