How to Access Awstats Without cPanel
This post is intended to help those who are searching for a different way to view and access Awstats without having to log into 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).
Additionally, the Awstats can be viewed via a subdomain like statis.mydomain.com. To reroute traffic to http://www.mydomain.com/cgi-bin/awstats.pl?config=mydomain.com, simply establish a subdomain and point it there.
That’s all folks !
Read More: How To Install MediaWiki From Softaculous
Read More: How To Add User To User Groups In CMS Made Simple