In case you notice a large increase in the traffic to your site and in case after you check the visitor stats it turns out that it comes from locations around the world or from other web servers, your website is more than likely being attacked by an automatic bot. Those programs go through random websites aiming to log in to their administrator area by using a brute-force attack or to leave spam comments below every article where such an option is provided. Unfortunately, that's something rather common 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 site in any way. Obviously, you may block IPs even if you allow only people from certain countries to access your website.
IP Blocking in Shared Hosting
If you have a shared hosting
account with our company and you would like to block one or several IP addresses, you could use the IP Blocking tool, which is incorporated into our in-house built Hepsia CP. Through a rather simple interface, you can prevent any IP from accessing your content even if you have never had a web hosting account before. All it requires to complete this is to log in to your Control Panel, to navigate to the IP Blocking section, to choose a particular domain or subdomain from a drop-down menu and then to type in the IP address. You will not need to do anything challenging 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 will block the entire range from 220.127.116.11 to 18.104.22.168. All blocked IPs shall be listed in the same section, so you will be able to remove any one of them from the blacklist with only a click.
IP Blocking in Semi-dedicated Servers
The Hepsia hosting CP, included with our semi-dedicated plans
, will enable you to solve the challenge with unwanted traffic very easily. It comes with an IP blocking tool where you could add IP addresses with several clicks. All domains and subdomains that you have within the account shall be listed in a drop-down menu, so you simply have to pick the one you need and then type in the IP address that should be blocked. If you want to block a whole range, a C-class network for instance, you just have to type the first 3 octets of the IP and leave the last one blank. This shall block all 254 addresses, so you'll not have to enter them manually. Because all the IPs you add in this section will be listed, you could effortlessly unblock any one of them by clicking the Delete button related to the particular IP.