1. Knowledge Base
  2. >
  3. Results
  4. >
  5. Can I Access My Apache Log Files?

Can I Access My Apache Log Files?

Shared and Reseller

  1. Log in to cPanel.
  2. Scroll down to the Metrics section and click on the Errors button.

    Error Button

  3. After clicking on Errors, you will be redirected to a page that will show the last 300 log messages for your site. 

    cpanel error messages

 

 To view access logs in cPanel, please see our article Raw Access Logs.

VPS and Dedicated Server

For Dedicated Server or VPS with cPanel installation, the Apache error log's location is /usr/local/apache/logs/error_log, where "error_log" is simply a plain text file.

For Dedicated Server or VPS without a cPanel installation, the Apache error log files are usually located in the /var/log/ directory. The Apache log would then found in the /var/log/httpd/ directory.


Need a bit more help? Contact HostGator support via Phone or Live Chat, and we will be happy to assist you!