How can I check my website access logs?
- Category : cPanel Question
- Posted on : Sep 11, 2020
- Views : 1,266
- 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!
Categories
- cPanel Question 47
- cPanel Software Management 29
- cPanel Tutorials 13
- Development 29
- Domain 13
- General 19
- Linux Helpline (Easy Guide) 156
- Marketing 47
- MySQL Question 13
- News 2
- PHP Configuration 14
- SEO 4
- SEO 42
- Server Administration 84
- SSL Installation 54
- Tips and Tricks 24
- VPS 3
- Web Hosting 44
- Website Security 22
- WHM questions 13
- WordPress 148
Subscribe Now
10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!Archive Calendar
Sat | Sun | Mon | Tue | Wed | Thu | Fri |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Recent Articles
-
Posted on : Sep 17
-
Posted on : Sep 10
-
Posted on : Aug 04
-
Posted on : Apr 01
Tags
- ts
- myisam
- vpn
- sql
- process
- kill
- tweak
- server load
- attack
- ddos mitigation
- Knowledge
- layer 7
- ddos
- webmail
- DMARC
- Development
- nginx
- seo vpn
- Hosting Security
- wireguard
- innodb
- exim
- smtp relay
- smtp
- VPS Hosting
- cpulimit
- Plesk
- Comparison
- cpu
- encryption
- WHM
- xampp
- sysstat
- optimize
- cheap vpn
- php-fpm
- mariadb
- apache
- Small Business
- Error
- Networking
- VPS
- SSD Hosting
- Link Building
- centos
- DNS
- optimization
- ubuntu