How to deny website access for certain IP addresses?
Add the following lines to the .htaccess file located in the root directory of your website:
Allow from all
Deny from 22.214.171.124
Deny from 126.96.36.199
Here, 188.8.131.52, 184.108.40.206 are IP addresses with denied website access.
Make sure not to block your IP address by accident. You can learn your IP address here: Learn more about blocking.