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

Mailman mailing list password problem

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

How to use Adobe Contribute software

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

WordPress Training and Tutorials

Some good training and tutorials for Word Press: YouTube Video: WordPress - A Simple Beginner's...

PHP Problems - Register Globals

If you are having problems with web forms in PHP, take a look at this web site, which discusses...

Does Web Disk work with Windows 7?

Unfortunately, Windows made a significant change to the OS with Windows 7, and Web Disk ceased to...