All Systems Operational|support@delhihosting.com
cPanel

How to Block IP Addresses in cPanel

25 Jan 2026 · 4 min read · DelhiHosting Team

If a particular address is attacking your site or scraping it aggressively, cPanel’s IP Blocker stops it reaching your account entirely.

When to block

Block addresses that show clear abuse — repeated attack attempts, aggressive scraping, or spam. The logs help you identify the offending IP before you block it.

Add a block

Open IP Blocker, enter the address or range, and add it. From then on, requests from that source are refused before they touch your site, reducing load and risk.

Don’t over-block

Be careful not to block legitimate visitors or whole regions you serve. For widespread bot problems, a security plugin or server-level protection like Imunify360 is a better tool than blocking IPs one by one.

Quick tips
  • Identify the abusive IP from logs
  • Add it in IP Blocker
  • Avoid blocking real visitors
  • Use Imunify360 for broad bot problems
Key takeaway

IP Blocker refuses a known-abusive address before it reaches your site — useful for specific offenders, but use broader tools for widespread bots.

Related cPanel guides

Need a hand with this?

Our Delhi-based engineers handle cPanel, email and server setup for you — free migration included.