Knowledgebase

Access Awstats without logging into cPanel

  • 3

If you wish to be able to access your Awstats without having to log into cPanel, you can (extract then) upload this script to your website root folder (public_html). You will need to edit the file to add your cPanel username and password details.

Once you have successfully completed this, you will be able to view your web stats by visiting http://www.yourdomain.com/awstats.php


Automate this process for new accounts
If you have a VPS/VDS/PDS server, you can automate the process above so that all new web hosting accounts on your server get this configured automatically. Note that for any existing accounts, the above (manual) process would need to be completed:

  1. Download the master template file
  2. Extract and upload to /usr/local/cpanel/scripts
  3. Download the automation file
  4. Extract and rename to postwwwacct.php and upload to /usr/local/cpanel/scripts

Thats it! Any new web hosting accounts created via cPanel with get the script installed automatically at account creation time.

Automate this process for new accounts - with authentication security
Similar to above, this option automates the deployment of these scripts at account creation time, however includes apache .htaccess password authentication to the stats. The default credentials are included in the configuration file and should be changed prior to uploading. The credentials can also be changed from within cPanel after creation.

  1. Download the master file
  2. Extract and upload to /usr/local/cpanel/scripts
  3. Download the automation file
  4. Extract and rename to postwwwacct.php and upload to /usr/local/cpanel/scripts

Was this answer helpful?