How do I block an IP address using cPanel?

If there is an IP address you want to block from your website, you can do so inside cPanel. Here are the steps:

  1. Log into cPanel 
  2. Under "Site Management", go to Ip Deny Manager.
  3. Under "Add an IP Deny:" enter in the IP address you wish to block.
  4. Click "Add".

You're all set! Now to remove the IP banning, all you need to do is remove the string it created in your .htaccess file or select it from the drop down menu on the Ip Deny Manager page.

The IP address you added to the banlist will not be able to access your website ever again!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Fix 403 Forbidden Error?

Have you ever lead to a page saying 403 forbidden error while navigating through the webpages?...

How do I login to my cPanel control panel?

You can access your cPanel control panel via any of the following links (replace yourdomain.com...

How can I increase my PHP memory limit?

You can easily change the memory_limit for PHP by following these steps. Log into cPanel...

How to set domain MX records to remote settings in cPanel

What is an MX record? A mail exchanger record (MX record) is part of your DNS (domain name...

How do I create an A Record in my cPanel?

A records map a FQDN (fully qualified domain name) to an IP address and are one of the most...