If you see a considerable increase in the online traffic to your site and in case after you check the visitor statistics it turns out that it comes from places all over the world or from other web servers, your site is most likely being attacked by an automatic bot. These programs go through random sites trying to log in to their administrator area using a brute-force attack or to leave spam comments beneath every article where this kind of an option is available. However, that's something relatively frequent in recent times, but if you know the IP addresses from which the attacks come, you could block them, so the bots shall not be able to access your website in any way. Certainly, you are able to block IPs even if you allow only people from particular countries to access your Internet site.
IP Blocking in Hosting
If you buy a hosting
from us, you will be able to see comprehensive traffic statistics for all your websites and if you notice that a lot of the visits to each of them aren't legit, you'll be able to block the IP addresses which have generated the most traffic through our IP Blocking tool. The interface is really simple - select the needed domain or subdomain from a drop-down list, then type in the IP address that you'd like to block and save the change. All of the addresses that you have blacklisted will show up in the same exact section of the CP, so you can always remove any of them and permit it to access your site again. You are able to block whole IP ranges through the tool also - you just have 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 websites in a semi-dedicated server
account with us and you would like to block one or a few IP addresses sooner or later, you can leverage the easy-to-use blocking tool, that we've provided with our in-house built Hepsia hosting CP. With a few mouse clicks, you shall be able to block individual IPs or whole ranges, if needed. All you shall have to do is choose any of your domains or subdomains from a drop-down menu, choose if the blocking should be valid for the root folder or for a subfolder that is part of the website, and then input the IP address that you want to block. For an IP range, you only need to omit the last octet or the last 2 octets of the address based on the size of the network that you want to block. Each of the addresses you have restricted will be listed within the exact same section and if you would like to whitelist any one of them, you'll be able to do it with only a click anytime.