Apache listen only on 127.0.0.1 (Nginx front-end etc.) and host multiple subdomains in Apache
vi /etc/apache2/ports.conf
NameVirtualHost 127.0.0.1 Listen 127.0.0.1:80Use this on vhosts
<virtualhost 127.0.0.1> </virtualhost>
vi /etc/apache2/ports.conf
NameVirtualHost 127.0.0.1 Listen 127.0.0.1:80Use this on vhosts
<virtualhost 127.0.0.1> </virtualhost>
No comments:
Post a Comment