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

Accessing Web Disk and WebDav

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

Apache Handlers, running html as php

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

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

Which shared hosting plan is best suitable for my websites?

There are many novice users who are very new to website hosting and don't know exactly which...