Sometimes, it happens that Awstats are not getting updated for a domain in cPanel. In such cases, it is better idea to put up “Update now” button for user to update Awstats on demand.
You can perform this by following below steps:
- Login to your server via SSH as root
- cd /home/username/tmp/awstats/
- Edit awstats config file of domain. For example awstats.domain.com.conf using following command:
- Search for ”AllowToUpdateStatsFromBrowser”.
- Assign the value “1” as shown below:
- Save the file and Exit.
Just refresh the statistics page and you will see “update now” button on the top of the page.
Latest posts by Rahul Vaghasia (see all)
- The Most Valuable 30 Live Chat with Screen Sharing Software - December 11, 2018
- The 10 Best Live Chat Software Solutions Compared - July 12, 2017
- Top 5 High Availability Dedicated Server Solutions - June 22, 2017