AWStats (Advanced Web Statistics) is a popular log analyzer that generates detailed graphical reports about your website visitors, including traffic sources, browsers, operating systems, and more. This guide shows you how to enable AWStats for all cPanel accounts on your server via WHM.
Step 1: Log in to WHM
Open your browser and navigate to https://your-server-ip:2087. Log in with your root credentials.
Step 2: Navigate to Tweak Settings
In the WHM sidebar, go to Home » Server Configuration » Tweak Settings.
Step 3: Find the Stats Programs Section
Click the Stats Programs tab at the top of the Tweak Settings page, or use the search bar to locate it quickly.
Step 4: Enable AWStats
Find the Enable Awstats stats option. Set the toggle to On to enable AWStats for all cPanel accounts on the server.
Step 5: Save Changes
Scroll to the bottom of the page and click Save.
Important Notes
- AWStats is enabled by default on fresh cPanel installations. If it was previously disabled, re-enabling it will begin generating stats for the next scheduled log processing run.
- For additional configuration options (such as which users can access stats and how often they update), go to Home » Server Configuration » Statistics Software Configuration.
- Users can view their AWStats reports from cPanel under Metrics » AWStats.
- If AWStats reports are not appearing, verify that the server has completed at least one log processing cycle since you enabled it. You can also check that the domain has sufficient traffic to generate data.
Troubleshooting
- Stats not updating: Ensure the
cpanellogddaemon is running. Check under Home » Service Configuration » Service Manager. - AWStats not visible in cPanel: The feature may be disabled in the cPanel package. Check Home » Packages » Edit a Package and ensure AWStats is allowed.
For more information, see the official cPanel documentation on Stats Programs.