An IP address is a unique set of numbers assigned to devices to identify them on a network or the internet.
You can block an individual IP address or IP address ranges in order to block them from accessing your website.
1. Select the domain name you want to block on IP address on
2. Go to edit the .htaccess file of your selected domain name
3. Inside the .htaccess file of your domain name, you can now implement IP address blocks, using the examples below:
- For an individual IP address:
Deny from 123.123.123.123
- For an IP address range:
Deny from 123.123.123.123/24
The /24 will block all IP addresses from 123.123.123.0 to 123.123.123.255