Is the Site Down for Everyone? Start With Who Told You
How-To
A page will not load, and the first piece of evidence is already in front of you. Whether anything came back at all, and what it called itself if it did, separates faults that have very little to do with one another. Three documents stand behind what you see, two of them carrying the weight of an Internet Standard and the third carrying none, and between them they also explain why a failure can arrive with nothing to read at all.
The server that reports its own failure is running
The Hypertext Transfer Protocol is specified in RFC 9110, published in June 2022 as Internet Standard 97. Its definition of the server error class, the codes beginning with a 5, is a single sentence that carries more than it looks. Those codes indicate that “the server is aware that it has erred or is incapable of performing the requested method”.
Awareness is the part to notice. A machine that has formed a view about its own condition and sent you that view has a running network stack, a running listener, and enough of an application left to produce a reply. The specification then asks for an account: “the server SHOULD send a representation containing an explanation of the error situation, and whether it is a temporary or permanent condition”, and “A user agent SHOULD display any included representation to the user”. That branded maintenance page you occasionally meet is not a courtesy. It is the behaviour the standard asks for.
What the plainest of those codes does not carry is any location. A 500 means “the server encountered an unexpected condition that prevented it from fulfilling the request”, which is an admission with no pointer to a cause. You have learned that they are up and that something inside them is wrong, and nothing narrower than that.
One nearby code reports an absence rather than a failure. A 404 is defined as the origin server reporting that it “did not find a current representation for the target resource or is not willing to disclose that one exists”. Something answered, looked, and reported an absence. The specification adds that the code “does not indicate whether this lack of representation is temporary or permanent”. A dead link on a healthy site produces exactly this.
Two of the codes name a middle box
The specification assumes from the start that a request may pass through more than one party: “HTTP enables the use of intermediaries to satisfy requests through a chain of connections”. A gateway is the kind of intermediary that matters here, which RFC 9110 also calls a reverse proxy, and which “is an intermediary that acts as an origin server for the outbound connection but translates received requests and forwards them inbound to another server or servers”. Inbound, in the specification’s vocabulary, means further from you and closer to the real origin.
That arrangement produces two codes that describe a second machine rather than the one that sent them. A 502 is returned when the responding machine, “while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request”. A 504 is returned when that same machine “did not receive a timely response from an upstream server it needed to access in order to complete the request”.
Both of those sentences describe two parties and grade them separately. The thing you reached is working well enough to compose and send a reply about something else. The thing behind it either sent nonsense or sent nothing in time. That is a far sharper result than a 500, because the fault has been placed on one side of a known handover, and the side it has been placed on is one you were never going to reach directly.
It also tells you who the problem belongs to. A 502 on a site you depend on sits behind a handover you have no access to, and no amount of reloading changes any of it. Whether the machine that produced that message is the only one holding its address, or one of many copies standing in different places, is a separate question with its own literature.
Nothing came back, which is the ambiguous case
The code for a site that cannot take the request right now is 503, which RFC 9110 defines as meaning “the server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay”. On its own that looks like the signal you would expect from a struggling site.
Read the note underneath it. Attached to that definition is a note rather than a requirement, and it withdraws most of the comfort the definition offers: “The existence of the 503 status code does not imply that a server has to use it when becoming overloaded. Some servers might simply refuse the connection.”
So two outcomes you were treating as separate diagnoses can be the same event. A site under load may announce itself politely, or the connection may be dropped with nothing attached. The polite version is a choice made on their side rather than a property of being overloaded, and you cannot read its absence as evidence that overload is not what is happening.
A connection that fails before any reply has a wide set of causes, and not one of them announces itself to you. The name may never have resolved, which is a step that happens before any connection is attempted. A device part-way along may have dropped the attempt, and locating that needs a hop by hop account of the outward journey.
Before any of that, rule out your own line. A fixed set of round trips from this site reports the spread of what comes back, which is enough to confirm your connection is carrying traffic at all. Note the limit honestly: the far end belongs to us, so what you get is a reading against a destination you do not choose. It can show that your side is alive. It cannot be aimed at the site you are worried about.
A page that loads is not proof either
Caching is specified separately, in RFC 9111, also published in June 2022 and also an Internet Standard. Its introduction sets out an exception: “When a cached response is not fresh, it might still be reusable if validation can freshen it”, and its next clause covers the case where the origin cannot be reached.
The specification has a word for a cache in that position. It is disconnected “when it cannot contact the origin server or otherwise find a forward path for a request”, and “A disconnected cache can serve stale responses in some circumstances”. The permission is narrow and deliberate: “A cache MUST NOT generate a stale response unless it is disconnected or doing so is explicitly permitted by the client or origin server”.
Operators do grant that permission explicitly. An extension published in May 2010 as RFC 5861 defines a directive for exactly this, and it was issued with no standing claimed for it: the RFC Editor “makes no statement about its value for implementation or deployment”. The behaviour it describes is nonetheless ordinary. That directive says that “when an error is encountered, a cached stale response MAY be used to satisfy the request, regardless of other freshness information”, and it defines the trigger by enumeration: “In this context, an error is any situation that would result in a 500, 502, 503, or 504 HTTP response status code being returned.”
Those are the same four codes from the sections above. The arrangement is that when a site starts returning them, a cache standing ahead of it hands out the last good copy instead. RFC 5861 asks that such a copy stay identifiable: “stale cached responses that are used SHOULD still be visibly stale when sent”. Nothing obliges a browser to make that obvious to you.
So a working page is weak evidence. What you were handed may have been stored before any of the trouble began.
If the site is your own, the question reverses
Everything above describes a visitor with only the reply in hand. Run the service yourself and you can ask something a visitor cannot, which is whether anything out on the internet can reach it at all. A reachability check in that direction does exist here, making a connection from our machines towards the address you are browsing from, against a number you nominate, and never towards anybody else’s. Its verdict rests on one thing: something has to answer. That is worth holding on to, because a forwarding rule can be correct while the wrong process sits behind it, and the result reads the same either way. Confirming that your own service is reachable from outside needs a probe aimed inbound at your own address.
For everyone else the useful sequence is short. Read whatever came back and ask who composed it. Their own styling, or any message naming an unexpected condition, means their estate answered and the fault is inside it. A generic handover message means the front is healthy and something further in is not. Nothing at all supports the fewest conclusions, and the specification says why: a refused connection and a polite apology can describe the same overload. And if the page loads for you while somebody else says it does not, you may be reading a copy stored while everything still worked.