cPanel provides several tools to monitor your website traffic, bandwidth usage, and visitor behavior.
Available Statistics Tools
Go to Metrics section in cPanel to find these tools:
1. Visitors
Shows detailed information about recent visitors:
- IP addresses
- Pages visited
- Time of visit
- Referring URLs
- User agents (browsers)
To access: Metrics > Visitors > Click domain
2. Bandwidth
Shows data transfer usage:
- HTTP (web traffic)
- FTP transfers
- Email bandwidth
- Daily, weekly, monthly totals
To access: Metrics > Bandwidth
3. Errors
Shows recent error log entries:
- 404 Not Found errors
- 500 Internal Server errors
- PHP errors
- Permission errors
To access: Metrics > Errors
Useful for troubleshooting broken links and script errors.
4. Raw Access Logs
Download complete server logs for detailed analysis:
- Go to Metrics > Raw Access
- Click domain to download current log
- Archives of previous months available below
Log format: Apache Combined Log Format
5. Awstats
Visual statistics with graphs and charts:
- Unique visitors vs visits
- Pages and hits
- Traffic by country
- Browsers and operating systems
- Search keywords
- Entry and exit pages
To access: Metrics > Awstats > Click icon next to domain
Understanding Key Metrics
| Metric | Meaning |
|---|---|
| Unique Visitors | Individual people visiting (by IP) |
| Visits | Total sessions (same person can visit multiple times) |
| Pages | HTML pages viewed |
| Hits | All requests (pages, images, CSS, JS) |
| Bandwidth | Data transferred in bytes/MB/GB |
CPU and Resource Usage
For shared hosting resource monitoring:
- Look for Resource Usage in cPanel sidebar
- View CPU, memory, I/O, and process limits
- Check for any limit warnings
Disk Usage
- Go to Files > Disk Usage
- See breakdown by folder
- Identify large files or folders
Google Analytics Alternative
For more detailed analytics, consider installing:
- Google Analytics: Free, comprehensive visitor tracking
- Matomo: Self-hosted, privacy-focused analytics
- Plausible: Lightweight, privacy-friendly
cPanel stats are server-side; Google Analytics is client-side and provides more user behavior data.
Archiving Logs
To configure log archiving:
- Go to Metrics > Raw Access
- Enable Archive Logs option
- Choose to remove previous month logs after archiving