AWStats - see stats without logging into cPanel

Normally, to see your web hosting statistics (AWStats), you must first log into your cPanel control panel.

Sometimes customers want to show their stats to other people, without giving them access to the cPanel.

This can be accomplished with a small script that we have available HERE. This is a ZIP file. Inside there is a single file called index.php. You must unzip the file and then EDIT the file to specify your cPanel username and password and your domain.. then upload the file to the server.

The top of the file looks like this:

$user = 'blahcom';//your cpanel username
$pass = 'abcd1234';//your cpanel password
$domain = '';//your domain name do not include 'http://' or 'www.'

With a basic text editor, put in YOUR info in place of the example data.

Next, FTP into your web hosting account on our server, and go into the public_html directory, then create a new directory called 'stats' or whatever you want to call it. This will be the URL of your stats, like

Next, upload the script, index.php into the new stats directory you created, using an FTP client.

One last option is to password-protect the stats directory, so only certain people can view it. This is done by going into your cPanel, click on Web Protect, and setting up a username and password for the stats directory to protect it. Instructions are here.

Any questions, please let us know!
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

SFTP - How to Setup and Use

SFTP stands for Secure File Transfer Protocol.  You can use it to transfer files between your...

Upgrade or Downgrade your Web or Email Hosting plan

Our billing system allows you to easily upgrade or downgrade to any other web or email hosting...

Joomla Security Tips

Joomla is a great Content Management System (CMS) however like any CMS, it requires care to be...

How to use Adobe Contribute software

Here are some general directions that may help you in setting up your Adobe Contribute software...

Parked Domains

Most of our web hosting packages allow you to have multiple domain names. The additional domains...