If you notice a large increase in the online traffic to your website and in case after you look into the visitor statistics it turns out that it comes from locations around the world or from other web servers, your website is probably being attacked by an automatic bot. Such programs go through random sites seeking to log in to their admin area through a brute-force attack or to leave spam comments below any article where this sort of an option is offered. Unfortunately, that is something relatively common nowadays, but if you know the IP addresses from which the attacks come, you'll be able to block them, so the bots will not be able to access your site in any way. Of course, you'll be able to block IPs even if you allow only people from certain countries to access your website.
IP Blocking in Shared Hosting
If you buy a Linux shared hosting
from our company, you shall be able to see comprehensive traffic stats for all of your websites and if you notice that a large amount of the visits to each of them aren't legit, you can block the IP addresses that have produced the most traffic through our IP Blocking tool. The interface is really simple - pick the needed domain or subdomain from a drop-down list, then enter the IP address that you'd like to block and save the change. All of the addresses that you have blacklisted will show up inside the very same section of the Control Panel, so you're able to always remove any one of them and allow it to access your site again. You could block entire IP ranges using the tool too - you simply need to leave 1 or 2 octets from the address blank. For instance, entering 1.2.3. will block all 254 IPs from 18.104.22.168 to 22.214.171.124.
IP Blocking in Semi-dedicated Hosting
You shall be able to block IP addresses without difficulty and stop the unwanted traffic to any Internet site hosted inside a semi-dedicated server
account with us, because we provide a really easy-to-use tool to do that, that's included with our Hepsia hosting CP. Even if you haven't dealt with this kind of problems in the past, you'll not have any difficulties, considering that our tool features a very user-friendly interface. When you visit the IP blocking section of the CP, you shall find a complete list of all the domains and subdomains you have added within the Hosted Domains section. All you should do to block an IP address is pick the desired domain or subdomain from a drop-down menu and type the IP within the box below. The change shall take effect right away, so you'll not get any traffic from this address in the future. Taking away an IP from the blocked list is just as uncomplicated.