How to block IP addresses in cPanel

There are times when you need to block an IP address (IP address), for example, because your website is being attacked from a certain IP or getting spam from a certain IP or domain.

How to block an IP address or domain is very easy and you can do it yourself from cPanel. The method is as follows:

  1. Login to cPanel hosting.
  2. Click the IP Blocker icon in the Security group.
  3. Fill in the IP address (IP address) or domain in the IP Address or Domain field.
  4. Click the Add button.

The IP to be blocked can be written as follows:

Single IP Address

  • 192.168.0.
  • 12001:db8::1

Range

  • 192.168.0.1-192.168.0.40
  • 2001:db8::1-2001:db8::3

Implied Range

  • 192.168.0.1-40

CIDR Format

  • 192.168.0.1/32
  • 2001:db8::/32

Implies 192.*.*.*

  • 192.
Was this answer helpful?

Related Articles

What is Softaculous Installer in cPanel?

If you have been struggling with the world of websites and web hosting for a long time, surely...

What is the difference between Cpanel and Client Area

There is a significant difference between cPanel and Client Area. To avoid misunderstandings, we...

How to make a Full Backup in Cpanel

Before you do a full backup on your hosting account, make sure the hosting disk space is...

How to change cPanel language to Indonesian

Maybe you are getting bored with English in your cPanel and you want to replace it with...

How to Redirect Domain via cPanel

Here's how to redirect a domain to another website via cPanel that you can try. 1. Login to...