How to View the cPanel Error Logs for a Client Account via WHM?
When a client's website shows errors, reviewing their error log is the fastest way to diagnose the problem. As a reseller, you can access any client's error log by logging into their cPanel through WHM.
How to View a Client's Error Log
- Login to WHM.
- Go to Account Information → List Accounts.
- Find the client's account and click the cPanel icon to login as them.
- Inside their cPanel, go to Metrics → Errors.
- The last 300 errors from the Apache error log are displayed.
Common Error Types and Meanings
| Error | Likely Cause | Quick Fix |
|---|---|---|
| PHP Fatal Error | Bad PHP code, missing function, wrong PHP version | Check PHP version compatibility, review code |
| 500 Internal Server Error | .htaccess error or PHP crash | Rename .htaccess temporarily to test |
| 404 Not Found | Missing file or broken link | Check file path, fix broken links |
| 403 Forbidden | Wrong file permissions or ModSecurity block | Fix permissions (644 files, 755 folders), check ModSec |
| mod_security block | WAF blocking a legitimate request | Disable ModSec for that domain temporarily |
View Error Logs via File Manager
- In the client's cPanel, go to File Manager.
- Navigate to
/home/username/logs/(one level above public_html). - Find the error log file (e.g.,
yourdomain.com.error.log). - Right-click and select View to read the log.
Tip: Always check the error log before contacting SKPHost Support. Most website issues (blank pages, 500 errors, login failures) are clearly explained in the error log and can be fixed without opening a support ticket.
If you continue to face issues, please open a create a request.
