I can only see the first website alphabetically
- by Victor
I have 3 subdomains websites. Those are subdomain1.mydomain.com, subdomain2.mydomain.com, subdomain3.mydomain.com.
I have point these to the external IP address.
bind is ok, dig is onerror, Apache2 reload ok
1.) If I set the following, I can only see the first one alphabetically.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName subdomain1.mydomain.com
...
<VirtualHost *:80>
ServerName subdomain2.mydomain.com
...
2.) If I set the following, I get file not found. Apache2 reload ok.
NameVirtualHost mydomain.com:80
<VirtualHost mydomain.com:80>
ServerName subdomain1.mydomain.com
...
<VirtualHost mydomain.com:80>
ServerName subdomain2.mydomain.com
Please Help! What else should I do.