Block an IP address or a domain on your site
Updated on 10 November 2026
- In cPanel, open IP Blocker.
- Enter an IP address (203.0.113.7), a range (203.0.113.0/24) or a domain name.
- Click Add.
Blocked visitors get an “access forbidden” error. The list of blocks, at the bottom of the same page, lets you remove them.