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!
  • 41 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, phpMyAdmin,...

Apache Handlers, running html as php

Apache handlers allow you to control what Apache will do with certain file types. When Apache...

How to host domain from other registrar to CubeHostIndia by changing Nameserver

Most of the users have a domain from various domain registrars and they are willing to host their...

Working with temporary URL on cPanel

Our Shared hosting server is running on fcgi php handler with the suEXEC enabled, due to security...

Copy Entire Database or Rename Database

Is there a way for me to copy an entire database? You will need to export the original database,...