How to find and check the access logs of the website in cPanel?

Access logs comprise a record of every request made for each specific file on a website, encompassing HTML and related data accessed by visitors. In essence, they provide insights into website visitors and the content they have viewed.

This tutorial will outline the steps to locate and review website access logs, accessible through the Raw Access feature in cPanel.

What does RAW ACCESS mean?

RAW ACCESS in cPanel provides users a straightforward interface to review access logs in a readable format without graphical representation. This feature enables users to access archive logs for download and analysis, facilitating the monitoring of website activities.

How can I find and check a website's access logs?

Next, we will discuss finding and checking website access logs.

Step 1: Log in to your cPanel account and navigate to the "Metrics" section.

Step 2: Choose "Raw Access" from the list

Step 3: On the next page, you'll find detailed information for all your domains, which you can download.

Step 4: Next, scroll down to "Archived Raw Logs" to download the previous access logs of the related domain.

Step 5: Click on the log file and download it to review.

The information provided includes:

  • The User-Agent denotes the browser utilized to access the website.
  • IP ADDRESS indicates the IP address from which the website has been accessed. (Refer to the marked IP Address in the image above)
  • Type of HTTP Request, indicating the request sent by the visitor's browser (GET or POST).
  • Status of Request, denoting whether the visitor encountered any web page-related errors (e.g., 404).
  • Relative Path refers to the URL visited or the query entered by the visitor. In the provided image, it is indicated as "test.accuwebtraining.com."

Conclusion

In conclusion, accessing and checking access logs in cPanel provides valuable insights into website activity and visitor behavior. Following the outlined steps, users can easily retrieve and analyze this data to monitor website performance, detect issues, and optimize their online presence effectively.


Was this answer helpful?

« Back

chat