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!

  • 222 Users Found This Useful
Was this answer helpful?

Related Articles

How do I backup / restore / move from one cPanel host to another?

How do I move my sites from my old host to you?If your old host is using cPanel you are in luck!...

Where are my raw log files?

They are located within your cPanel control panel. (a) Login to your cPanel (b) Click...

Do I have to give all my email accounts access to cpanel?

Your users do not have to go through Cpanel. If you domain name has propagated, use...

How can users access webmail without going through cpanel?

Your users do not have to go through Cpanel. If you domain name has propagated, use...

How do I access my Control Panel?

Your control panel is accessible via either: http://www.yourdomain.com/cpanel/...