HTTP 404 Not Found
HTTP 404 Not Found means the server has no current representation for the request target or chooses to conceal whether the resource exists. A missing route, a wrong host or a deliberately hidden protected record can all produce it.
Check the address the server received
Compare the path, case, query and host with a URL you know works. If a gateway rewrites the path or uses the wrong upstream virtual host, the application may answer with 404 while its direct route works.
Find the layer that answered
For a custom target that you own, compare the response and request IDs from the direct and proxy paths. A CDN can serve its own 404 page or a cached response. Check its route and cache before replacing the forward proxy. A resource deliberately retired with a known permanent absence may return 410 Gone.
Follow the request path into the application
Suppose a request for /api/v2/reports/42 returns 404 through the public gateway. The backend log shows /reports/42 because the gateway stripped the version prefix. Check whether the application expects that prefix in production and which rule handled the request. Keep the HTTP method and hostname fixed while you compare paths. A server can also send the request to a default virtual host if the host or routing information is wrong, so check the selected upstream alongside the URI.
Check for a cached 404
A shared cache can keep a 404 response after the resource becomes available. If the response contains Age, record it alongside cache headers, then confirm with the CDN or reverse proxy logs whether that request hit the cache. To diagnose a browser-only result, inspect each redirect in the network panel and compare the final URL with the tester’s target response. Once you know whether the error came from a current request or a stored response, you can correct the route or refresh the relevant cache entry.