Finding IPs Hitting Webserver


Guidelines to determine which IP addresses are hitting your web site the most. A quick learning tutorials for self learners.

If your webserver has started to come under increased load and you want to see which IPs have been most actively hitting your website, you can do the following:

1. SSH into your server

2. Go to the directory where the access_logs are stored for Apache.

  • For cPanel servers this is done by typing: cd /etc/httpd/logs/
  • Other locations include: /var/log/apache2/ or /var/log/httpd or /etc/apache2/logs

3. Type the following command: tail -50000 access_log | awk '{print $1}' | sort | uniq -c | sort -n | tail


Was this answer helpful?

Still need help?

Our friendly support team are ready to offer assistance with any issues you may be encountering.
Click the button below to open a ticket:
Open Ticket

 WordPress Hosting

Fast hosting for WordPress
Experience the best in Australian WordPress hosting with lightning fast servers, built-in caching, and performance tools.

 Build Your Website

Sitejet Hosting
Build your site fast with a drag and drop editor with no coding required. 140+ quality, templates to get you started.

 Register Domains

It all starts with your domain name
Find the perfect domain and register now with our competitive pricing on all extensions.

 Web Hosting

Fast, local, secure hosting
Full featured hosting on cPanel with multiple server locations around the country.
« Back