: IP Address Deny Manager does not seem to work I blocked an IP trying login attempts through IP Address Deny Manager on cpanel but it doesn't seem to work. I still see the blocked IP on my
I blocked an IP trying login attempts through IP Address Deny Manager on cpanel but it doesn't seem to work. I still see the blocked IP on my visitor log? If IP Address Deny Manager is not helpful, how can I limit that IP?
More posts by @Lee4591628
1 Comments
Sorted by latest first Latest Oldest Best
If you are using Apache, edit the .htaccess file in your website root directory and add the below. 192.0.2.123 will represent the IP address of the user you wish to block.
order allow,deny
deny from 192.0.2.123
allow from all
If you are using NginX, edit the vhosts config file (location depends on your setup) and add the below.
location / {
deny 192.0.2.123;
allow all;
}
Note: You would have to reload/restart apache.nginx for changes to take effect.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.