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.
- First of all, visit http://awstats.sourceforge.net and download Awstats on your PC.
- Create a folder and extract the contents to it.
- 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.
- 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.
- 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)
- Edit the file with your favorite text editor to alter ‘DirIcons’ line to DirIcons=”/icon/” and upload it back to the /cgi-bin folder.
- 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 !