HostGator Web Hosting Help

Add Update Button to AwStats

Summary

By default AWStats will update once a day. Following the instructions in this article will help you add a "Update" button to AWStats

Enabling Manual Updates

If you want to manually update your stats, follow these instructions:

  1. Locate the awstats folder within your account. (/home#/username/tmp/awstats/)
  2. You need to find and edit the custom.txt file.
  3. Add these two lines:
    • AllowToUpdateStatsFromBrowser=1
    • DNSLookup=1
  4. Save the changes
Now when you open AwStats in cPanel there will be a link next to the date that says "Update now". You may click this link to immediately parse the raw access logs and generate your statistics.

Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

To view your stats, scroll down to the Logs section of the cPanel Here are different programs that can be used to view your stats. We most recommend awstats When you select your stats program, you ma
Getting Started Article 519,592 views tags: awstats domain select stats view

I would like to view the statistics for my website.
Knowledgebase Article 347,277 views tags: addon domain enable hits set setup statistics stats subdomain visitors web

How can I import awstats from my previous host?
Knowledgebase Article 217,263 views tags: awstats import importing

Related Help Content

Allowing access to Awstats without requiring a cPanel login
Knowledgebase Article 627,306 views tags: awstats

What are Raw Access Logs and how do I view them?
Knowledgebase Article 264,781 views tags: access log logs raw

What are the Error Logs?
Knowledgebase Article 249,766 views tags: logs

A step-by-step guide to update the contact details we have on file.
Knowledgebase Article 203,124 views tags: Contact profile update

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.
Knowledgebase Article 100,452 views tags: auto automatic certified download install manual premium themes update upload wordpress

How to change the name of your WordPress site without WP Tools
Knowledgebase Article 224,523 views tags: change domain update wordpress

What you need to know about the WordPress 5.0 update
Knowledgebase Article 89,159 views tags: classic editor gutenberg release rollout tinymce update wordpress

How to update your WordPress site, using the WordPress tools
Knowledgebase Article 114,353 views tags: upgrade wordpresstools