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

Related Articles

None of my CGI scripts are working on the server. How do I get them to work?

First, make sure the script files are in the cgi-bin folder. Second, make sure the file...

PhpMyAdmin

phpMyAdmin is a tool written in PHP to handle the administration of MySQL over the web. Databases...

Viewing your disk space usage.

Login to cPanel, and under Files, click Disk Space Usage. This page shows you where disk space...

Internal Server Error help, 500 error

Internal server errors can be caused by a few different things. Please check the Error Logs in...

How to park a domain on an addon domain

cPanel has yet to offer this option although it can be done. In order to park a domain on top of...