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:
- Login to cPanel hosting.
- Click the IP Blocker icon in the Security group.
- Fill in the IP address (IP address) or domain in the IP Address or Domain field.
- 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.