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)

Step 1 of 5

Start by accessing your Web Hosting dashboard.


Step 2 of 5

On your dashboard, select the cPanel Admin button that appears above Settings.



Step 3 of 5

Select IP Blocker under the Security section.

IP Blocker


Step 4 of 5

Enter the IP address you wish to block in the Add an IP or Range field.

Enter IP Address


Step 5 of 5

Once done, click Add.


Web Hosting plans purchased before July 2020 / Premium Hosting plans purchased before August 2020

Step 1 of 6

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?

Step 2 of 6

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.

Manage Shared Web Hosting


Step 3 of 6

This will show you an overview of your current hosting packages. Click Manage for the account you wish to use.

Manage Legacy hosting


Step 4 of 6

On the next page, select Manage for the domain you wish to update.

Manage hosting domain


Step 5 of 6

Click on the IP Address Blocking option in the Web Tools section.


Step 6 of 6

Enter the IP address you wish to block into the Configure IP blocking field and click on the Create button.