If you want to prevent specific IP addresses from visiting your website, you can use the IP Blocker tool in cPanel. This is useful for blocking spam, abusive users, or known malicious traffic.

To block an IP address:

  1. Log into cPanel.

  2. Navigate to Security > IP Blocker.

  3. Enter the IP address or IP range you want to block (e.g., 192.168.0.1 or 192.168.0.1/24).

  4. Click Add to apply the block.

Once added, cPanel will automatically deny access from those IPs to your website.

It’s a good practice to review your website’s traffic logs regularly (found under Raw Access Logs or Awstats) to identify suspicious patterns and proactively block unwanted visitors.

For step-by-step instructions, see our tutorial: Managing website security settings using cPanel.

Was this answer helpful? 0 Users Found This Useful (0 Votes)