Deny IP Manager
Hi,
I am hoping someone can advise me with a newbie question.
I would like to set up sub-domains on a dedicated server and use the deny IP feature to selectively allow access to these. Can anyone tell me if it is possible to selectively deny IP access to some sub domains or is it only possible to blanket deny IP across the entire domain set?
Thanks in advance.
-
Find the .htaccess file inside subdomain folder, than add: order deny,allow allow from XXX.XXX.XXX.XXX allow from XXX.XXX.XXX.XXX deny from all
Where XXX.XXX.XXX.XXX are the IPs you want to allow. This will deny access from all, except from these IPs.0 -
Howdy, You could also setup a password and password protect it from cPanel. Thanks! 0
Please sign in to leave a comment.
Comments
2 comments