Viewing the error log in cPanel
The Error Log in cPanel helps you identify problems with your website. It records HTTP errors that occur when visitors try to access your site, such as missing files or permission issues. It can also reveal suspicious activity like virus infections or unauthorized access attempts.
Why Use the Error Log?
Section titled “Why Use the Error Log?”- Detect broken links or missing files.
- Identify incorrect file permissions.
- Spot suspicious activity (possible hacks or malware).
- Troubleshoot site performance issues.
Steps to View the Error Log
Section titled “Steps to View the Error Log”-
Log in to cPanel.
-
On the Tools page → Metrics section, click Errors.
-
The error log displays the last 300 entries from your site’s log.
- Entries appear in reverse chronological order (newest first).
- Each entry shows the date, time, error type, and affected file/URL.
Example Errors
Section titled “Example Errors”- 404 Not Found → Requested file does not exist.
- 403 Forbidden → Permission denied.
- 500 Internal Server Error → Server misconfiguration.
- 401 Unauthorized → Authentication required but not provided.