How to view the website error log in cPanel
- Open "Errors" (group "Metrics").
- Check the latest web server error log entries for the primary domain.

PHP errors
PHP errors are written to logs/php.error.log in the account home folder. On older accounts they go to error_log files in site folders (public_html/error_log, public_html/wp-admin/error_log). Open the file in the File Manager (how). The latest lines are at the bottom.
To see an error right on the page, temporarily turn on display_errors in the PHP settings. Turn it off again once you have found the error.
Common errors
| Error | Where to look |
|---|---|
| 500 Internal Server Error | a mistake in .htaccess or a fatal PHP error - check the error log |
| 403 Forbidden | no index file, wrong permissions (chmod) or a deny rule in .htaccess |
| 404 Not Found | no file at this address; for a CMS - pretty URLs in .htaccess do not work |
| 503 / 508 | the site is overloaded: many simultaneous requests, heavy plugins, a wave of bots |
Visitor statistics and access logs are in "Visitors" and "Awstats", group "Metrics".