Step 1.Download Awstats: http://awstats.sourceforge.net
Step 2.Extract the contents of the file to your computer.
Step 3.Use an FTP client to upload the contents of the /cgi-bin and /icon folders into the root of your domain (both are located in the “wwwroot” folder).
Step 4.Change the permissions of the awredir.pl and awstats.pl files to 755 (in the /cgi-bin directory).
Step 5.Download the Awstats configuration file created by cPanel: /tmp/awstats/awstats.yourdomain.com.conf.
Step 6.Open this file with a text editor, search for the “DirIcons” line, and change it to show: DirIcons=”/icon/”.
Step 7.Upload the modified file to the /cgi-bin folder.
Step 8.You may now access your statistics at http://www.yourdomain.com/cgi-bin/awstats.pl?config=yourdomain.com
Note: Please password protect the /cgi-bin folder so that only authorized users can access it (found under cPanel -> Security -> Password Protect Directories)