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!
  • IP address, Block IP
  • 41 Users Found This Useful
Was this answer helpful?

Related Articles

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

How to Connect to the MySQL Database

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

Does it cost extra to park domains?

As long as you have a Silver plan or higher, you may park domains to your existing primary...

Apache Handlers, running html as php

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

Accessing Web Disk and WebDav

Web disc (also known as WebDAV) is a drag-and-drop interface which allows you to access your...