If you notice a significant increase in the traffic to your site and if after you look at the visitor statistics it turns out that it comes from countries all over the world or from other web servers, your site is probably being attacked by an automatic bot. These pieces of software go through random websites seeking to log in to their admin area by using a brute-force attack or to leave spam comments below every article where such an option is offered. Unfortunately, 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. Certainly, you may block IPs even if you allow only people from certain countries to access your site.
IP Blocking in Web Hosting
If you have a web hosting
account with our company and you would like to block one or several IP addresses, you can use the IP Blocking tool, that is included in our in-house built Hepsia CP. Through a rather simple interface, you'll be able to stop any IP from accessing your content even if you have not had a web hosting account before. All it takes to do that is to log within to your Control Panel, to visit the IP Blocking section, to select a certain domain or subdomain from a drop-down menu and then to type in the IP address. You'll not need to do anything complicated if you want to block a whole network - you'll just need to omit the last octet, so entering 1.1.1. with a blank space after the last dot shall block the full range from 22.214.171.124 to 126.96.36.199. All blocked IPs will be listed within the same exact section, so you'll be able to remove any one of them from the blacklist with just a mouse click.
IP Blocking in Semi-dedicated Servers
If you host your sites inside a semi-dedicated server
account with our company and you need to block one or several IP addresses eventually, you are able to use the easy-to-use blocking tool, which we have provided with our in-house built Hepsia hosting CP. With only a few clicks, you'll be able to block individual IPs or entire ranges, if needed. All you will have to do is pick any of your domains or subdomains from a drop-down menu, decide if the blocking should be valid for the root folder or for a subfolder which is part of the website, and then input the IP address that you want to block. For an IP range, you only have to omit the last octet or the last two octets of the address depending on the size of the network which you want to block. All the addresses that you have restricted will be listed inside the very same section and if you want to whitelist any one of them, you'll be able to do it with simply a mouse click anytime.