1. bluehost knowledge base

IP Deny Manager

Summary

This tool will block anyone from a specified IP address. This will stop people from a particular IP address from being able to visit your site.

 



Finding out a visitor's IP Address

Using web statistics tools, one can find more information on their visitors. We suggest going to cPanel and clicking the Latest Visitors icon. This tool will show visitors' Host information; it could be an IP address or a domain name.

How to block an IP address or Domain

Bluerock

  1. Log in to your Bluehost cPanel account.
  2. Under Security, click on the IP Blocker icon.
  3. On the "Add an or Range," enter the IP address or domain name to block.
  4. Click the Add button.

Legacy

  1. Log in to your Bluehost cPanel account.
  2. Under Security, click on the IP Deny Manager icon.
  3. On the "Add an or Range," enter the IP address or domain name to block.
  4. Click the Add button.

How to unblock the IP address

Bluerock

  1. Log in to your Bluehost cPanel account.
  2. Under Security, click on the IP Blocker icon.
  3. Scroll down and locate the IP address or domain name you would like to unblock.
  4. Click the "Delete" option under Actions to remove it. 

Legacy

  1. Log in to your Bluehost cPanel account.
  2. Under Security, click on the IP Deny Manager icon.
  3. At the bottom, under "Current IP addresses being blocked," click the red "X" icon under the Remove column.

Deny All

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 IP address

See the article on How to Edit Your .htaccess File for generic instructions that apply to all .htaccess changes.

WARNING! It is possible to block access to yourself accidentally by using this method.

Be sure to allow access to your IP address. Otherwise, you will be blocked as well. You can find out your current IP address by visiting http://www.Bluehost.com/ip. If you accidentally block yourself, please contact Bluehost via live chat or telephone. You will need to confirm your identity ("verify your account") before we can unblock your IP.