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

  1. Login to WHM.
  2. Go to Account Information → List Accounts.
  3. Find the client's account and click the cPanel icon to login as them.
  4. Inside their cPanel, go to Metrics → Errors.
  5. 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

  1. In the client's cPanel, go to File Manager.
  2. Navigate to /home/username/logs/ (one level above public_html).
  3. Find the error log file (e.g., yourdomain.com.error.log).
  4. 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.

Ця відповідь Вам допомогла? 0 Користувачі, які знайшли це корисним (0 Голосів)