Blocking an IP address or a domain name

The IP Blocker allows you to block an IP address, domain name, or block of IP addresses from accessing our website. For example, if someone is using a lot of your bandwidth, posting malicious content, or should not be allowed to access your website for any reason, you can block them using the IP Blocker.

NOTE: Before you proceed, you will need to know the IP address or domain name you want to block.

  1. Click IP Blocker under Security in cPanel.

    cPanel IP blocker

  2. Under Add an IP or Range enter the IP address or range, or domain name.

    cPanel entering IP range

    Make sure you have entered the IP address or domain name in the proper format.

    Learn more about IP addresses, range and domain name formats below.

  3. When ready, click Add to block that IP address, range or domain name to access your website. The entry will be added to the Currently-Blocked IP Address table.

    cPanel currently blocked ip address

IP addresses, range and domain name formats

You can specify IP addresses, IP range or domain name in the following formats:

Single IP Address – this form will block a single IP address. For example, 192.168.0.1

cPanel IP Blocker add single IP

Range – this format will block a specified range of IP addresses from accessing your website. For example,

192.168.0.1-192.168.0.40

cPanel IP blocker add IP range

Implied Range – this format will block a specified range of IP addresses from accessing your website. This is an alternative format of the Range format. For example,

192.168.0.1-40

cPanel IP Blocker Implied Range

CIDR Format – this format will block a specific subnet of the IP address. For example,

192.168.0.1/32

cPanel IP blocker CIDR IP format

Implied IP address – this format implies IP address of 192…, where each represents a positive whole number. If you enter 192., the system blocks the access from any IP address that begins with 192.

cPanel IP blocker implied IP

Domain name – enter the domain name you want to block. The IP Blocker will try to resolve it to an IP address for you. For example, google.com

cPanel IP blocker by domain name