27 Jul
2011
27 Jul
'11
22:22
I have set up Apache virtualhosts for server1.ourdomain.com and server2.ourdomain.com, but only server1 loads. There is only one local IP address. Each virtualhost has its own entry under, /etc/apache2/vhosts.d/. Examples below; ~~~~~~~~~~~~~~~~~~~~~~ What was needed is to have the NameVirtualHost *:80 directive above the Include line in httpd.conf; NameVirtualHost *:80 Include /etc/apache2/vhosts.d/*.conf <snip> Now the virtual hosts work for the sub-domains. Best, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org