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 = 'blahblah.com';//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 http://www.blahblah.com/stats.

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

Joomla Security Tips

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

AWStats Statistics - Definitions

Here is a link to a page that defines each of the terms in AWStats, including Unique Visitor,...

Publishing Your FrontPage 2003 Website Using FTP

If you built your website using Microsoft FrontPage 2003, we recommend publishing your website...

Mailman mailing list password problem

If you forget the administrative password that is used to login and manage your Mailman mailing...

How to Log into the cPanel control panel

There are two ways you can log into your cPanel web and email control panel:A) Login Directly:...