Answer the question
In order to leave comments, you need to log in
Apache how to deny access by IP?
There is an Apache web server, it has 2 IPs, I need to host two sites and make their own IP for each. Made:
<VirtualHost 69.220.25.218:80>
ServerName one.ru
ServerAlias www.one.ru
DocumentRoot "/var/www/html/one.ru"
</VirtualHost>
<VirtualHost 91.15.128.29:80>
ServerName two.ru
ServerAlias two.ru
DocumentRoot "/var/www/html/two.ru"
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
https://serverfault.com/questions/900757/how-can-i...
https://serverfault.com/questions/607137/restrict-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question