Apache Access logs
Apache uses the access log files to record information about every visitor to your site. You can see which files visitors view, how the web server responds to requests, and other information such as the web browsers visitors use.Managed dedicated servers and VPS
If you have a managed Dedicated Server or VPS, you can view the raw Apache access logs in cPanel. For more information about how to do this, please see this article.Unmanaged dedicated servers and VPS
If you have an unmanaged Dedicated Server or VPS, you have root access. This means you can manipulate and process the Apache access log files any way you want. For example, you can log in to your server using SSH and type the following command to view the last 100 lines in the Apache access log:If your server is running Debian or Ubuntu, type the following command instead:
If your server is running Debian or Ubuntu, type the following command instead:
Apache Error logs
The Apache error log is where information is recorded about any errors or anomalies it encounters. Many of the “errors” Apache records are typically minor, such as a visitor requesting a file that doesn’t exist. Apache also uses the error logs to record warnings that can indicate a potential problem with a particular event or configuration.Managed dedicated servers and VPS
If you have a managed Dedicated Server or VPS, you can view the Apache error logs in cPanel. For more information about how to do this, please see this article.Unmanaged dedicated servers and VPS
If you have an unmanaged Dedicated Server or VPS, you have root access. This means you can manipulate and process the Apache error log files any way you want. For example, you can log in to your server using SSH and type the following command to view the last 100 lines in the Apache error log:If your server is running Debian or Ubuntu, type the following command instead:
If your server is running Debian or Ubuntu, type the following command instead: