HostMonster Web Hosting Help

IP Deny Manager Tool

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 the 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 the Host information of visitors; it could be an IP address or a domain name.

How to block an IP address or Domain

  1. Log in to cPanel and click on the IP Deny Manager icon.
    The IP Deny Manager icon.
    The IP Deny Manager icon.
  2. Under "Add an IP to deny", enter the IP address or domain name to block.
  3. Click the Add button.
    The add IP form.
    The add IP form.

How to unblock the IP address

  1. Log in to cPanel and click on the IP Deny Manager icon.
    The IP Deny Manager icon.
    The IP Deny Manager icon.
  2. At the bottom, under "Current IP addresses being blocked", click the red "X" icon under the Remove column.
    The list of blocked IP addresses.
    The list of blocked IP addresses.

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 for your IP address. Otherwise, you will be blocked as well. You can find out your current IP address by visiting http://www.HostMonster.com/ip. If you accidentally block yourself, please contact HostMonster via live chat or telephone. You will need to confirm your identity ("verify your account") before we can unblock your IP.

Knowledgebase Article 43,498 views bookmark tags: block deny ip ips manager (updated 86 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

This article will give a basic overview of the File Manager and explain how to access it. (updated 886 days ago)
Getting Started Article 200,050 views tags: cpanel filemanager

This article will explain how to utilize GZip through the file manager. (updated 871 days ago)
Knowledgebase Article 40,576 views tags:

What is the Process Manager? How do I use the Process Manager? Why can I get to my cPanel but homepage does not display? (updated 66 days ago)
Knowledgebase Article 63,130 views tags: concurrent connections displaying frozen manager manger process site twenty website

Related Help Content

This article will explain how to access and use the Web Disk and cPanel as well as explain variations for different operating systems. (updated 874 days ago)
Knowledgebase Article 24,524 views tags: cpanel webdav webdisk

This article will walk you through extracting compressed files using the File Manager. (updated 871 days ago)
Knowledgebase Article 50,774 views tags: cpanel filemanager

This article will walk you through copying and moving files using the File Manager. (updated 885 days ago)
Knowledgebase Article 70,305 views tags: cpanel filemanager

This article will walk you through uploading files using the File Manager (updated 879 days ago)
Knowledgebase Article 51,198 views tags: cpanel

This article will walk you through navigating the File Manager. (updated 884 days ago)
Knowledgebase Article 21,979 views tags: cpanel filemanager

This article will walk you through creating, removing, and editing files with the file manager. (updated 886 days ago)
Knowledgebase Article 52,841 views tags: cpanel filemanager

How do I view Thumbnails of images in a directory? How do I scale images? How do I convert an image to a jpg, gif, bmp, or png? (updated 2062 days ago)
Knowledgebase Article 88,031 views tags: images manager

How to assign a dedicated IP to a domain on a dedicated server. (updated 566 days ago)
Knowledgebase Article 75,870 views tags: dedicated ip