IP Deny Manager  Print this Article

The IP Deny Manager feature allows you to block access to your site for one or more IP addresses. You can also ban fully qualified domain names (FQDNs).
An FQDN (Fully Qualified Domain Name) is a name that uniquely defines a domain’s location. It is usually seen as host.example.com. with a trailing dot. For the purposes of cPanel, including a final dot is not necessary, but the domain name must contain at least 2 dots. FQDNs must be written in lowercase letters. 

Deny an IP address

To deny access to an IP address or range of IP addresses:

  1. Enter the IP address or range in the IP Address or Domain field.
  2. Click Add.

You can enter IP addresses in any of five ways:

  • Single IP Address (Example:
  • Range (Example:
  • Implied Range (Example:
  • CIDR Format (Example:
  • Implied IP Address (Example: 10.)
Note: 10. as an implied IP address implies 10.*.*.*, where each * represents a positive whole number. If you enter 10., all IP addresses that begin with 10. will be blocked.

If you enter IP addresses directly to the .htaccess file, enter them in CIDR format only. Use of the range formats shown above as entries in the .htaccess file may cause problems. CIDR or "Classless Inter-Domain Routing" is a routing method that assigns each Internet user to a four-part IP address, with each part separated by a decimal, followed by a slash and a number between 0 and 32.

Current IP addresses being blocked

IP address ranges entered through IP Deny Manager are separated into subnets in CIDR format before the values are added to the .htaccess file. The interface will display blocked IP addresses and ranges in this notation.

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


IP Addresses


Unblock an IP address

To remove a denied IP address:

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

Was this answer helpful?

Also Read

How to Password Protect Directories
Password protection of a directory requires visitors to enter a username and a password, which...
Hotlink Protection
A hotlink occurs when content from your site is embedded on another site and uses your bandwidth...
Leech Protection
Leeching occurs when users publicly post their username and password to a restricted area of your...