This article describes how to exclude an IP address from the site statistics that AWStats generates. For example, you may want to exclude your home IP address so your own site visits do not distort the statistics.
To exclude an IP address from AWStats, follow these steps:
If you are using the Paper Lantern theme, in the FILES section of the cPanel home page, click File Manager:
Locate the following line in the file:
SkipHosts=""
Between the quotation marks, type the IP address that you want to exclude. To exclude multiple hosts, use a space between each value. For example, the following line shows how to exclude two IP addresses:
SkipHosts="192.168.1.214 10.125.21.152"
Click
The configuration file is now ready. However, by default AWStats automatically overwrites the file every 24 hours. To prevent this from happening, you must modify the file permissions. To do this, follow these steps:
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.
We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.