Ultra Web Hosting Docs

IP Blocker

The IP Blocker tool in cPanel lets you deny access to your website from specific IP addresses or ranges. This is useful for blocking malicious visitors, bots, or unwanted traffic.

When to Use IP Blocking

Blocking an IP Address

  1. Log into cPanel.
  2. Scroll to the Security section.
  3. Click IP Blocker.
  4. In the Add an IP or Range field, enter the IP address or range you want to block.
  5. Click Add.

Accepted Formats

The IP Blocker accepts several formats:

Common CIDR Blocks

Warning Be careful with large IP ranges. Blocking a /16 or /8 range can inadvertently block legitimate visitors. Start with individual IPs or /24 ranges and only expand if needed.

Finding the IP Address to Block

There are several ways to identify problematic IP addresses:

Tip Before blocking an IP, look it up at AbuseIPDB to see if it has been reported by others. This helps confirm whether the IP is actually malicious.

Removing a Blocked IP

  1. Go to SecurityIP Blocker in cPanel.
  2. Scroll down to the Currently-Blocked IP Addresses list.
  3. Find the IP address you want to unblock.
  4. Click Delete next to the entry.
  5. Confirm the removal.

Important Considerations

Note The IP Blocker adds deny rules to your .htaccess file. If you have a large number of blocked IPs, this can slightly affect server performance. For blocking large numbers of IPs, a firewall solution is more efficient.