You can find our user documentation at

Check out our new API beta site!

Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.44

(Home >> Security >> IP Deny Manager)


The IP Deny Manager interface allows you to block access to your site for one or more IP addresses or fully qualified domain names (FQDNs).

Block an IP address


If you enter IP addresses directly in the .htaccess file, enter them in CIDR format only.

To deny access to an IP address or range of IP addresses, perform the following steps:

  1. Enter the IP address or range in the IP Address or Domain text box. You can enter IP addresses in any of the following ways:
    • Single IP Address (for example,
    • Range (for example,
    • Implied Range (for example,
    • CIDR Format (for example,

    • Implied IP Address (for example, 10.).

  2. Click Add.


10. as an implied IP address implies 10.*.*.*, where each * represents a positive whole number. If you enter 10., cPanel will now allow IP addresses that begin with 10. to access your site.

Current blocked IP addresses

cPanel separates the IP address ranges that you enter through the IP Deny Manager interface into subnets in CIDR format. Then, the system adds them to the .htaccess file. The interface will display blocked IP addresses and ranges in CIDR notation.

For example, if you enter the range, the Current IP addresses being blocked table will appear similar to the following example:

Unblock an IP address

To remove an IP address from the list of blocked IP addresses, perform the following steps:

  1. Click in the Remove column for the appropriate IP address.
  2. Click Yes to confirm.