HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How can I check my website access logs?

  • Category : cPanel Question
  • Posted on : Sep 11, 2020
  • Views : 1,321
  • By : HostSEO

Using the Raw Access Logs menu in cPanel, you can check the traffic coming to your website before it is turned into a report by the statistics software. It is a great functionality to take a closer look at the type of the requests your websites are getting.

You can access it in the following way:

For cPanel Basic Theme
For cPanel Retro Theme

For cPanel Basic Theme:

Log into your cPanel > Metrics section > Raw Access menu:

In the Configure Logs section, you can set up cPanel to automatically archive and remove the logs.

Make the necessary changes and click on Save to apply them:

The Download Current Raw Access Logs option allows downloading the corresponding log for certain domain(-s):

  • Domain: list of the domains in your account
  • Last Update: the latest date when the log was updated
  • Disk Usage: the amount of the disk space the log file takes
  • Linked Domains: list of the addon/parked domains

To download the archived log file, simply click on the domain in question:

Once downloaded, extract the file locally and view it using any text editor. You will see the following output:

Each line begins with the identity of the agent that visited your website (generally, an IP address is recorded).

Next, the date and time are logged.

Then you may see the type of HTTP request sent by the agent (usually GET or POST).

The next field is a relative path to a file/image/query and HTTP version (1.1 in the example).

A three-digit code displayed specifies the resulting status of the request: 404 – not found, 200 – success.

The next portion of logs identifies the referrer, if any - a hyphen in our example.
Although, null-referrer values are common for robots, the actual URI data is generally typical for human users.

Finally, the formal identity and credentials of the user-agent are specified.

If you wish to download archived logs which are stored in the account home directory, click on the corresponding one in the Archived Raw Logs section:

If you would like to see the advanced graphical reports for the hosted domains, use the Awstats menu.

For cPanel Retro Theme:

Log into cPanel > Logs section > Raw Access Logs menu:

In the Configure Logs section, you can set up cPanel to automatically archive and remove the logs.

Make the necessary changes and click on Save to apply them:

The Download Current Raw Access Logs option allows downloading the corresponding log for certain domain(-s):

  • Domain: list of the domains in your account.
  • Last Update: the latest date when the log was updated.
  • Disk Usage: the amount of the disk space the log file takes.
  • Linked Domains: list of the addon/parked domains.

To download the zipped log file, simply click on the domain in question:

Once downloaded, extract the file locally and view it using any text editor. You will see the following output:

Each line begins with the identity of the agent that visited your website (generally, an IP address is recorded).

Next, the date and time are logged.

Then you may see the type of HTTP request sent by the agent (usually GET or POST).

The next field is a relative path to a file/image/query and HTTP version (1.1 in the example).

A three-digit code displayed specifies the resulting status of the request: 404 – not found, 200 – success.

The next portion of logs identifies the referrer, if any - a hyphen in our example.
Although, null-referrer values are common for robots, the actual URI data is generally typical for human users.

Finally, the formal identity and credentials of the user-agent are specified.

If you wish to download archived logs which are stored in the account home directory, click on the corresponding one in the Archived Raw Logs section:

If you would like to see the advanced graphical reports for the hosted domains, use the Awstats menu.

That's it!

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 123456
78910111213
14151617181920
21222324252627
28293031 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional