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 18.104.22.168
- For an IP address range:
Deny from 22.214.171.124/24
The /24 will block all IP addresses from 126.96.36.199 to 188.8.131.52