In case you notice a considerable increase in the online traffic to your Internet site and in case after you check the visitor stats it turns out that it comes from countries all over the world or from other servers, your Internet site is probably being attacked by an automatic bot. Those programs go through random sites seeking to log in to their admin area through a brute-force attack or to leave spam comments under any article where this type of an option is provided. Unfortunately, that's something quite common these days, but if you know the IP addresses from which the attacks come, you could block them, so the bots will be unable to access your site in any way. Obviously, you can block IPs even if you allow only people from certain countries to access your site.
IP Blocking in Shared Hosting
If you get a shared hosting
from our company, you'll be able to see comprehensive traffic statistics for all your sites and if you notice that a considerable amount of the visits to each of them are not authentic, you can block the IP addresses which have produced the most traffic using our IP Blocking tool. The interface is incredibly simple - pick the needed domain or subdomain from a drop-down list, then type the IP address that you would like to block and save the change. All the addresses that you have blacklisted shall appear inside the exact same section of the Control Panel, so that you can always remove any one of them and enable it to access your site again. You are able to block entire IP ranges via the tool also - you just need to leave 1 or 2 octets from the address blank. For instance, entering 1.2.3. will block all 254 IPs from 22.214.171.124 to 126.96.36.199.
IP Blocking in Semi-dedicated Servers
If you host your Internet sites in a semi-dedicated server
account with our company and you want to block one or a few IP addresses eventually, you could use the easy-to-use blocking tool, which we have included in our in-house built Hepsia hosting Control Panel. With a few clicks, you'll be able to block certain IPs or entire ranges, if required. All you shall have to do is choose any one of your domains or subdomains from a drop-down menu, decide if the blocking must be valid for the root folder or for a subfolder that's part of the Internet site, and then type the IP address you want to block. For an IP range, you only have to omit the last octet or the last 2 octets of the address depending on the size of the network which you want to block. All the addresses you have restricted shall be listed within the very same section and if you want to whitelist any one of them, you shall be able to do it with simply a mouse click at any time.