How to view website statistics in cPanel using AWStats

How to View Website Statistics in cPanel Using AWStats

When you have a website online, you may want to keep track of how many people are visiting your site. cPanel offers several built-in statistic reports, and AWStats is one of the more popular programs. AWStats updates every 24 hours and also instantly when you click the Update now link. The statistics report gives details about the amount of people coming to your website and other information such as:

  • Monthly history
  • Days of month
  • Days of week
  • Hours
  • Countries (top 25)
  • Hosts (top 25)
  • Authenticated users (top 10)
  • Robots/Spiders visitors (top 25)
  • Visits duration
  • Files types
  • Pages-URL (top 25)
  • Operating systems (top 10)
  • Browsers (top 10)
  • Connect to site from
  • Search key phrases (top 10)
  • Search keywords (top 25)
  • HTTP error codes

Stats may not begin working and updating until after the first 24 hours.

Note: Statistics are not accessible on a Shared or Reseller cPanel with more than 100 domain entries, including subdomains, addon domains and parked domains.

Access AWStats

To access AWStats for your site:

  1. Log into cPanel.
  2. In the Logs section, click the AWStats icon.
  3. Click the view icon next to the domain name for which you wish to view stats.

For help understanding your AWStats results, please refer to the official AWStats website:

Activate Web Statistics in WHM

VPS and Dedicated Server owners may need to activate web statistics in WHM. To do this:

  1. Log into WHM.
  2. Go to Server Configuration > Statistics Software Configuration.
  3. Adjust the settings and save.

Exclude an IP Address from AWStats

You can specify an IP address which you do not want logged in AWStats to keep your own page visits from being counted. This will allow you to view your site and make updates without affecting the daily statistics. To exclude your IP address:

  1. Visit https://www.digicom.com/ip/ and copy the red IP address. This is your connecting IP.
  2. Log into cPanel.
  3. In the Files section, click the File Manager icon.
  4. Navigate above public_html and open the tmp folder.
  5. Open the awstats folder.
  6. Find the file named awstats.yourdomain.com.conf (yourdomain.com will be your actual domain name) and choose to Edit.
  7. Scroll down to the line starting with SkipHosts and add your connecting IP inside the quotes. For example:
    SkipHosts="123.45.67.89"
  8. Save the changes.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WordPress pointing home URL to subdirectory

Pointing your home site's URL to a subdirectory In some cases, you may have a WordPress site...

How to log into cPanel

cPanel is a web hosting account management tool available on all Digicom Linux hosting plans,...

Change cPanel Password or recover lost password

Requesting a New cPanel Password If you have lost or forgotten your cPanel password, you can...

Location of Script Configuration Files

Location of Script Configuration Files These paths are relative to the root of the script, not...

Connect to MySQL Database

How to Connect to the MySQL Database In order for your MySQL database to work as intended, it...