One of the most reliable ways to restrict the access to your website is to block the IP addresses of those which should not be able to open it. There are various reasons why you should do this. For example, you may want a specific person not to be able to see your site, or you can restrict the access for an entire nation. You could also block IP addresses in case you discover that there are lots of browser requests from them, if a large number of spam comments are left within your Internet sites or if a script login page has been loaded a lot of times. In all of these scenarios, the traffic is more than likely fake and has been produced by an automatic bot, so you can safely block any shady IP address, so as to be on the safe side. This way, you shall also avoid the chance of your hosting server getting overloaded by a lot of fake requests.
IP Blocking in Shared Website Hosting
If you buy a Linux shared website hosting package from our company, you'll be able to see detailed traffic stats for all your sites and if you notice that many of the visits to any of them aren't legit, you'll be able to block the IP addresses that have created the most traffic using our IP Blocking tool. The interface is incredibly 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 the addresses that you have blacklisted will appear inside the same section of the Control Panel, allowing you to always remove any one of them and allow it to access your site again. You are able to block entire IP ranges using the tool as well - you simply need to leave 1 or 2 octets from the address blank. For example, entering 1.2.3. will block all 254 IPs from 1.2.3.1 to 1.2.3.255.
IP Blocking in Semi-dedicated Hosting
If you host your sites inside a semi-dedicated server account with our company and you would like to block one or several IP addresses sooner or later, you are able to take advantage of the easy-to-use blocking tool, that we have provided with our in-house built Hepsia hosting Control Panel. With a few clicks, you shall be able to block certain IPs or entire ranges, if necessary. All you shall need 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'd like to block. For an IP range, you simply have to omit the last octet or the last 2 octets of the address with regards to the size of the network you want to block. All the addresses that you've restricted shall be listed in the very same section and if you would like to whitelist any of them, you shall be able to do it with a click whenever you want.