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:

(a) Log into your Cpanel account.
(b) Under "Site Management", go to Ip Deny Manager.
(c) Under "Add an IP Deny:" enter in the IP address you wish to block.
(d) 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 ban list will not be able to access your website ever again!

Was this answer helpful?

 Print this Article

Also Read

How do I find my PHP version?

Login to cPanel In the Stats section on the left, locate the row labeled PHP version.

How to generate/download a full backup?

A full backup is a backup of all of your files, e-mail, databases, etc. To run a full backup, you...

What do my cPanel stats mean?

Within cPanel, there are numerous statistics listed on the left of the screen.   Main Domain...

How to access Hidden files & Folder in cPanel ?

Hidden file and folder names start with a...

What is the difference between parked, addon, and subdomains?

subdomain is a second website, with its own unique content, but there is no new domain name....