Can I hide my IP in AWStats?

Asked by:
8scarlet / 10 Points
Time:
2012-03-02 3:27 am EST
Category:
Cpanel
Hits:
3,890
I would like a true value for page views without mine getting in the way. I access the site more than anyone, of course. Must be a way to do that?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
Staff
13,688 Points
2012-03-02 5:40 pm EST
Hello 8scarlet,

Great question about filtering IPs in AWStats.

You can filter IPs in the Who > Hosts > Full list page in AWStats. After accessing AWStats in cPanel, click on your domain name. On the next page (Statistics for:...) on the left side of the page, click on the Full list link (under Hosts). In the Exclude filter field type in your IP address to exclude it from the stats you are viewing. Please note, this is not a permanent filter and you will need to put in your IP each time you view this page.

You can also add your IP to the SkipHosts parameter in your AWStats configuration file. This would need to be updated if and when your IP address changes.

The configuration file can be found in tmp/awstats directory inside of your home directory in the cPanel File Manager. The name of the configuration file will be something similar to:

awstats.YourDomain.com.conf

  1. Open this file for editing and look for the line that begins with:


    SkipHosts=""


  2. Insert your IP address between the quotes. If you would like to exclude a range of IP addresses, use a regular expression similar to this:


    SkipHosts="REGEX[^123\.456\.]"


    This would exclude all IPs of the block 123.456 (123.456.*.* where * equals all possible numbers for that part of an IP address)


  3. Once you have finished editing that file, click the Save Changes and then Close.


  4. To keep AWStats from overwriting your changes every 24 hours, you will want to change the file permissions of the configuration file you just edited to 444. If you need to make a change to the file in the future, you will need to change the permissions back to at least 644 until you are through editing the file.


If you are unsure of your IP address, you can see your IP here:

Hub IP Detection Tool

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}