HTTP Code: 404 (Not Found)
HTTP Status Code Reference
Status Category
4xx — Client Error
Meaning & Definition
The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Common Causes
- Wrong URL paths typed
- Deleted pages or assets files
- Wrong server routing rewrite configurations
How to resolve HTTP code errors
1. Inspect Logs: Check server logs (e.g. error.log) to locate runtime exceptions or database disconnects.
2. Test Endpoint: Use our Uptime Checker or redirects prober to verify response headers and payload size.
3. Configure Rules: Implement custom redirect rules or error fallback paths below in Nginx/Apache config.
Nginx Configuration Setup
error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
internal;
}Apache Configuration Setup
ErrorDocument 404 /404.html