Knowledge Base
MilesWeb / Web Host Manager

How to Access Awstats Without cPanel.

Approx. read time : 2 min

Watch this video for a step by step process on how to access AWStats without logging into cPanel?

This post is definitely to serve people looking for an alternative to access and view Awstats without requiring to sign in to cPanel.

This is how we do it.

  1. First of all, visit http://awstats.sourceforge.net and download Awstats on your PC.
  2. Create a folder and extract the contents to it.
  3. With the help of File Manager (in cPanel) or FTP upload the contents of /cgi-bin and /icon folders into the root of domain. You can find the two contents in the “wwwroot” folder.
  4. Open the /cgi-bin folder and change the permissions of the awredir.pl and awstats.pl files to 755.  We highly recommend to password protect the /cgi-bin folder in order to ensure access for authorized users only.
  5. Now either edit this file /tmp/awstats/awstats.mydomain.com.conf. created by cPanel or download it to your PC, then edit (mydomain.com should be your domain)
  6. Edit the file with your favorite text editor to alter ‘DirIcons’ line to DirIcons=”/icon/” and upload it back to the /cgi-bin folder.
  7. That’s it ! You are now ready to access your website/domain statistics at http://www.mydomain.com/cgi-bin/awstats.pl?config=mydomain.com (mydomain.com will be your own domain name).

In addition to this, a subdomain such as statis.mydomain.com can be used for viewing the Awstats. Just create a subdomain and simply redirect it the url http://www.mydomain.com/cgi-bin/awstats.pl?config=mydomain.com.

That’s all folks !

 

Need help? We’re always here for you.