If you notice a major increase in the online traffic to your website and in case after you examine the visitor stats it turns out that it comes from locations all over the world or from other web servers, your website is more than likely being attacked by an automatic bot. Those programs go through random Internet sites seeking to log in to their admin area using a brute-force attack or to leave spam comments below any article where this sort of an option is made available. The fact is that, this is something quite popular nowadays, but if you know the IP addresses from which the attacks come, you can block them, so the bots will be unable to access your site in any way. Obviously, you are able to block IPs even if you allow only people from certain countries to access your site.
IP Blocking in Shared Hosting
If you buy a shared hosting
from our company, you will be able to see comprehensive traffic stats for all your websites and if you notice that a large amount of the visits to any of them are not real, you may block the IP addresses that have created the most traffic via our IP Blocking tool. The interface is incredibly simple - pick the needed domain or subdomain from a drop-down list, then type in the IP address that you would like to block and save the change. All of the addresses that you've blacklisted shall appear in the same exact section of the CP, allowing you to always remove any one of them and allow it to access your Internet site again. You are able to block entire IP ranges through the tool also - you simply need to leave one or two octets from the address blank. As an example, entering 1.2.3. will block all 254 IPs from 126.96.36.199 to 188.8.131.52.