Security & Protection2 min read•Updated September 2026

How to Blacklist an IP Address Using cPanel IP Blocker

cPanel includes a built-in IP Blocker interface that manages .htaccess block rules automatically without requiring manual code editing.

Step-by-Step Instructions

1

Open cPanel > Security > IP Blocker

Click the 'IP Blocker' icon in the Security section.

2

Enter IP Address or Range

Type the single IP (e.g. 192.0.2.1), IP range (192.0.2.1-192.0.2.100), or CIDR format (192.0.2.0/24).

3

Click Add

cPanel appends the rule to your configuration and immediately drops incoming requests from that source.

Related Guides in Security & Protection

How to Protect Your .htaccess File and Block Unauthorized Access

3 min read • Read →

How to Ban Malicious IP Addresses via .htaccess on LiteSpeed

2 min read • Read →

How to Protect a Directory with Username & Password in cPanel

3 min read • Read →
Chat with HubforHost on WhatsApp (+91 7780204727)