How do I deny IP address access?

Do you want to stop someone from visiting your website? This tool will block anyone from a specified IP address.

How to find out a visitor's IP address. Use the web statistics tools to find more information on your visitors. We suggest you go to cPanel and click the Latest Visitors icon. Look for the Host information; it could be an IP or a domain name.

How to block the IP address.

  1. Login to cPanel and click IP Deny Manager.
  2. Under "Add an IP to deny", please enter IP address or domain name you wish to block.
  3. Click the Add button.


How to unblock the IP address.

  1. Login to cPanel and click IP Deny Manager.
  2. At the bottom, under "Current IP addresses being blocked", click Remove.

You can also set an option for deny from all, which will deny everyone.

This must be done by coding your .htaccess file as follows: deny from all
allow from 70.24.291.52
allow from 216.130.49.223 #my house

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Apache Error Logs

When you check the error logs, you can see many things. Some things you can ignore: File does...

Accessing Web Disk

Web disk (also known as Web Dav) 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...

Backup File Types

So, you have a backup file, but you need to know what type of backup it is so you can know what...

Copy Entire Database or Rename Database

Is there a way for me to copy an entire database in cPanel from another server? You will need...