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!
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Connect to the MySQL Database

Note: If connecting from your home computer, you need a MySQL client like Navicat,...

How to log into cPanel

cPanel is used for managing your web hosting account and available on all Microhosting Linux...

Please read before creating an Addon Domain

About addon domainsAddon Domains are handled like subdomains as far as the server is concerned,...

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...

How to change the password of your cPanel account

There may be times where you would like to change the password of your account. It is...