How to block an IP address
This article will show you how to block an IP address from accessing your server
There are several reasons why you would want to block an IP address, with the most common one being for security purposes such as protecting your server from DDoS attacks or preventing unauthorised access from malicious users.
Alternatively, you may wish to block an IP address for personal reasons. For example, say you run a forum with an annoying member – blocking their account wouldn’t stop them from signing up with a different email address; blocking their IP address, however, would mean they couldn’t access your site at all from their machine.
Simply click on a title below to skip to the most appropriate FAQ. You can also click the Top button to return and make another selection.
Web Hosting plans purchased after July 2020 / Premium Hosting plans purchased after August 2020 (cPanel)
On your dashboard, select the cPanel Admin button that appears above Settings.
Select IP Blocker under the Security section.
Enter the IP address you wish to block in the Add an IP or Range field.
Once done, click Add.
Web Hosting plans purchased before July 2020 / Premium Hosting plans purchased before August 2020
Start by logging in to your legacy Control Panel. For details on how to do this, please read the following article: How do I access and manage my products?
From there, select Web Hosting or Premium Hosting within the ‘Manage active products’ section, depending on which product you wish to use.
Next, select Manage opposite the ‘(bought before XX/XX/XX)’ option.
This will show you an overview of your current hosting packages. Click Manage for the account you wish to use.
On the next page, select Manage for the domain you wish to update.
Click on the IP Address Blocking option in the Web Tools section.
Enter the IP address you wish to block into the Configure IP blocking field and click on the Create button.