Block an IP address or a domain on your site

Updated on 10 November 2026

  1. In cPanel, open IP Blocker.
  2. Enter an IP address (203.0.113.7), a range (203.0.113.0/24) or a domain name.
  3. Click Add.

Blocked visitors get an “access forbidden” error. The list of blocks, at the bottom of the same page, lets you remove them.