Browser troubleshooting
Separate a DNS failure from a website error
If the browser cannot resolve a hostname, the request has not reached the normal HTTP page-response stage. A 404 or 500 is a different failure because an HTTP response was received.
Worked example
Worked reference example
No hostname resolution → investigate domain spelling, DNS, or network setup.
Connection/TLS failure → investigate reachability and certificate setup.
HTTP 404 → investigate the requested route or missing file.
HTTP 500 → investigate the responding server's failure.
HTTP 200 with wrong body → investigate rewrites, login pages, or stale content.How it works
Separating stages narrows the investigation. A malformed asset path will not be fixed by changing DNS when the server is already returning a 404 for that path. Record the complete failing URL and the browser’s actual network diagnostic.
Limits and mistakes
Browser messages can group several lower-level failures, and a proxy or local filter may change what appears. Avoid promising that one generic network reset will solve every case. Compare another known site and another controlled network only when appropriate.
Check the result
Inspect the network panel and distinguish no response from a response with an error status. Use those observations to choose the next check instead of editing unrelated application code.
Sources
Reference documentation for the behavior used in this guide: