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!

 


 

  • ip block
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to show hidden files (.htaccess) in cPanel File Manager?

Many users ask us how they can see the .htaccess files for their websites in cPanel File Manager....

How Can I Compress / Uncompress Files Using the File Manager?

How to Compress Files Go to the File Manager. Navigate to the folder where the files you want...

How to View Your cPanel Disk Space Usage?

In order to view your cPanel disk space usage, there’s a great tool located inside of your...

Accessing webmail for your domain

To access the included webmail email clients included with your hosting account, you’ll need to...

How to rename a database in phpMyAdmin?

phpMyAdmin is a free and opensource application for MySQL database management. It is one of the...