How To Block Or Unblock IP Addresses On cPanel Hosting?

SANGKRIT.net hosting plans and servers have a firewall installed, to detect potentially-malicious behavior and block such IP addresses from making any connections to the server automatically. And there are times when you want to stop some server, website or user from accessing your website.

This is generally done by adding new .htaccess rules, but SANGKRIT.net hosting also has a feature to help create these rules visually.

Blocking IP Addresses / Address Range

  1. Login to cPanel.
  2. In”Security” section, click “IP Blocker”.
  3. Enter the IP address / Address range in the box and click “Add”.
  4. Confirm the dialog box on the confirmation screen.

That’s it. Now you should see the newly-added IP or range in the “Currently-Blocked” list. Alternatively, you can also check your website’s .htaccess file if the block is there.

Unblocking IP Addresses / Address Range

  1. Login to cPanel.
  2. In”Security” section, click “IP Blocker”.
  3. Look the list for the IP address / Address range you would like to unblock, then click the “Delete” button in that row.
  4. This will ask you to confirm. If you are sure you want to unblock the IP, click “Remove IP”. Else, click “Cancel”.

Once done, the IP address will no longer be present in the “Currently-Blocked” list.

Leave a Reply