Blocking An IP address

Another way to slow down the deluge that is SPAM.

Home :: Blog

Block IP Addresses of Spammers

How to Block and Unblock IP Addresses from Accessing Your Site Using the cPanel IP Blocker

Although our web hosting packages and our VPS already have a firewall installed to detect potentially malicious behaviour and automatically block those IP addresses. Sometimes you will only want to stop someone or stop their IP address from accessing your website which is most often done using .htaccess file. cPanel also has an IP blocking feature to help create these rules for you.

How to Block an IP Address or Address Range

Login to your cPanel.

Under section, Security click on IP Blocker.

Next, enter the IP address or address range in the box and click Add.

You will then see a confirmation screen.

You should now see the newly-added IP or range in the Currently-Blocked list.

If desired you can check your Website “.htaccess” file and see that the block was added.

How to Unblock an IP Address or Address Range

This only works if cPanel’s IP Blocker is how the IP was blocked in the first place, Otherwise the unblocking will need to be done another way.

For assistance on this please do not hesitate to contact us.

Log into cPanel and access the IP Blocker page as shown in the previous section.

Look in the list for the IP address or address range you would like to unblock, and click the “Delete” button in that row.

cPanel will ask you if you are sure. If you are sure you want to unblock the IP, click “Remove IP”. Otherwise, click “Cancel”.

After unblocking the IP, you will see a confirmation screen

The IP address will no longer be listed in the “Currently-Blocked” list.

If you found this article useful in combatting spam please share. IP Blocker is included in all our hosting packages, for more details contact us.

Posted