There are many good reasons behind the popularity of cPanel. One of these is the fact that there are quite a number of tasks you can perform via the Graphical user interface (GUI). Through this interface, you can actually ban harmful IP address from being able to access your site. You can do this through the I.P. Deny Manager, one of the tools cPanel has incorporated with its GUI.
Basically, the IP Deny Manager is a tool that enables users to prevent not only I.P. addresses, but also domain names, from gaining access to a particular website. These addresses can also be blocked through the same tool.
Blocking IP Addresses on your SiteGround cPanel Hosting
So how do you block certain IP addresses that can wreak havoc on your website? It’s quite simple, thanks to cPanel’s easy-to-use interface.
Step 1: Find out which IPs may be dangerous.
In the event that you are unsure of the specific IP address that you should block, you can check it via this directory:
“Visitors stats > Awstats”
Once you get to the Awstats folder, you are going to find a list of IPs, as well as information on them. Look for those that are consuming the greatest amount of resources from your website, and take a note of them. These are the addresses you should block.
Step 2: Go to I.P. Deny Manager
You can access the I.P. Deny Manager tool by going to your hosting account’s cPanel interface and locating the “Security” options. Once you are here, go to “I.P. Deny Manager”.
You are going to be redirected to a new page, where you can put in the I.P. addresses you wish to ban.
IPs can be blocked through the use of .htaccess, however, the I.P. Deny Manager of cPanel is a lot easier and more straightforward.
Why Banning I.P. Addresses is a Must
From the above-mentioned steps, you can already see that banning I.P. addresses via cPanel’s very own tool is quite easy. However, you may be wondering why you should block these addresses in the first place.
One of the best reasons to ban addresses or domain names is because these may contain malicious content that can affect your website. There are also some IPs and sites that may be piggybacking on your bandwidth, resulting in your own site’s performance suffering.
Any IP address or domain you want to block from accessing your website can be listed in the I.P. Deny Manager.
Allowing Access To Blocked IP Addresses
In the event that you determine the denied IP addresses and domain names are actually okay and you want to give them access to your website, you can reverse the process.
You can remove the “banning” of these I.P. Addresses through the same tool, the IP Deny Manager. Here are the steps to do so:
Step 1: Access the IP Deny Manager.
Head to the your cPanel interface and click on the Security section. Open the IP Deny Manager.
Step 2: Remove the addresses or domains from the list.
Find the IP addresses or domain names you wish remove from your ban list. There is a “Remove” icon beside them. Just click on this option to allow them to once again, be able to access your website.