404, 500, 503: What Website Error Codes Mean

A web page that shows "404", "500" or "503" instead of what you wanted is telling you something specific. Here is what the most common error codes mean, and what, if anything, you can do about each one.

Short answer

Codes starting with 4 usually mean a problem with the request, such as a page that does not exist (404) or that you are not allowed to see (403). Codes starting with 5 mean the website's server has a problem (500, 502, 503), which only the site's owners can fix. For a 404, check the address and search the site. For a 5xx error, refresh after a few minutes and check whether the site is down for everyone.

In this article 10 sections
  1. What the first digit tells you
  2. 404 Not Found
  3. 403 Forbidden
  4. 500 Internal Server Error
  5. 502 Bad Gateway and 504 Gateway Timeout
  6. 503 Service Unavailable
  7. 429 Too Many Requests
  8. What you can do when you see a 5xx error
  9. When to get help
  10. Common questions
A web page showing a large "404" error message saying the page could not be found.
A typical 404 page: the website is working, but the address you asked for does not lead to a page. Photo: Wikimedia Foundation / Wikimedia Commons, CC BY-SA 4.0

Every time you open a web page, your browser asks a server for it and the server answers with a three-digit status code. Most of the time the answer is a success and you never see the number. When something goes wrong, many websites show the code on screen, and it is a useful clue to whose problem it is: yours, or the website's.1 (If you are curious about the whole journey, see what actually happens when you open a website.)

What the first digit tells you

Status codes are grouped into five classes by their first digit:1

  • 1xx – informational responses
  • 2xx – success (the page loaded normally)
  • 3xx – redirection (the page has moved and your browser is being sent elsewhere)
  • 4xx – client errors: something about the request is wrong
  • 5xx – server errors: the website's server could not deliver the page

The rule of thumb: a 4 usually means something about the address or your access, while a 5 means the problem sits with the website, and there is little you can fix yourself.1

404 Not Found

This is the most familiar error. It means the server cannot find the page you asked for.2 The website itself is working; there is simply nothing at that address. Common causes are a mistyped address, or a page that was moved or deleted without the site sending visitors to its new location.2

A 404 does not say whether the page is gone temporarily or for good.2

  1. Check the address for typos, especially if you typed it yourself or copied it from a message.2

  2. Go to the website's home page and use its search or menus to find the content in its new place.2

  3. If you followed a link from another site or an old bookmark, the page may have been moved or removed.2

403 Forbidden

A 403 means the server understood the request but refuses to carry it out, usually because you do not have permission to see that page.3 Unlike some other access errors, logging in again makes no difference to a 403, and repeating the same request will normally give the same result.3 If you think you should have access (for example, to a work or school system), contact whoever runs the site.

500 Internal Server Error

A 500 is a general-purpose server error. It means the server ran into something unexpected that stopped it completing the request, and no more specific error applied.4 Causes include a misconfigured server, running out of memory, a bug in the site's code or wrong file permissions.4 It needs the website's owners or administrators to investigate, so as a visitor the best you can do is wait and try again later.4

502 Bad Gateway and 504 Gateway Timeout

Many websites pass your request through one server (a gateway or proxy) to another behind it. A 502 means that gateway received an invalid response from the server behind it; a 504 means it got no response at all in time.5 Fixing these usually falls to the site's owners. However, if the site works for other people, the problem could be on your side: check your network, firewall, proxy and DNS settings, including any VPN you use.5 Our guides to Wi-Fi that is connected but has no internet and what a VPN does may help.

503 Service Unavailable

A 503 means the server is not ready to handle requests right now. The usual reasons are that the site is down for maintenance or is overloaded with traffic.6 It is meant for temporary situations, and the server may tell browsers roughly when the service should be back.6 A sudden rush of visitors, for example during a big ticket sale, can overload a site and trigger a 503.6

429 Too Many Requests

A 429 means you (or your connection) sent too many requests in a short time, which is often called rate limiting.7 Sites usually count requests per internet address or per logged-in account, and the response can say how long to wait before trying again.7 Stop refreshing repeatedly and give it a few minutes.

What you can do when you see a 5xx error

Server errors are mostly out of your hands, but a few simple checks are worth trying:8

  1. Refresh the page after a short wait. On Windows or Linux press Ctrl + R; on a Mac press Cmd + R.8

  2. Check whether the site is down for everyone, using a website-status checker such as "Down For Everyone Or Just Me".8

  3. If you suspect a DNS problem on your network, restart your router.8

If only one site misbehaves and the error does not show a status code at all, the cause may be different. See our guides to DNS_PROBE_FINISHED_NXDOMAIN, ERR_TOO_MANY_REDIRECTS and clearing your cache and cookies.

Be wary of error pages that ask you to call a number

A genuine 404 or 503 page never asks you to phone "technical support", pay money or install software. If an "error" page does, close it: it is likely a scam. See our guide to fake virus warnings and tech support scams.

When to get help

If a 4xx or 5xx error keeps appearing on a site you depend on, such as your bank, a government service or your workplace, contact the organisation through another route (its app, phone line or social media) and tell them the code and the page address. For 500-type errors, only the site's administrators can fix the cause.4

Common questions

What is the difference between 404 and 410?

A 404 just means the page cannot be found, while 410 Gone means it has been removed permanently.9 Sites are supposed to use 410 for pages deleted for good, but many simply show a 404.2

What is the difference between 401 and 403?

A 401 means you need to log in with valid credentials first.9 A 403 means the server knows the request but will not allow it, and logging in again does not change that.3

Is a 503 error my fault?

Almost never. It means the website is temporarily unavailable, usually because of maintenance or heavy traffic.6,9

Sources and further reading

  1. HTTP response status codes — MDN Web Docs (Mozilla)2026-09-17
  2. 404 Not Found — MDN Web Docs (Mozilla)2026-06-22
  3. 403 Forbidden — MDN Web Docs (Mozilla)2026-06-22
  4. 500 Internal Server Error — MDN Web Docs (Mozilla)2026-06-22
  5. 502 Bad Gateway — MDN Web Docs (Mozilla)2026-06-22
  6. 503 Service Unavailable — MDN Web Docs (Mozilla)2026-06-22
  7. 429 Too Many Requests — MDN Web Docs (Mozilla)2026-06-22
  8. HTTP Error 503 Service Unavailable Explained — freeCodeCamp2024-08-06
  9. List of HTTP status codes — Encyclopaedia Britannica

Was this article helpful?

Comments

No comments yet. Questions and tips from readers are welcome.