I have 1 IP and want to setup a couple of sites on that IP.
DNS resolves correctly to the IP address.
Here's my Vhosts directives:
<VirtualHost *>
DocumentRoot "/Volume2m/Websites/website1.com"
ServerName website1.com
ServerAlias
www.website1.com
</VirtualHost>
<VirtualHost *>
DocumentRoot "/Volume2m/Websites/website2.com"
ServerName website2.com
ServerAlias ww.website2.com az.website2.com
</VirtualHost>
www for website2 is hosted elsewhere.
Default document for site1 is index.php, site2 is index.html
If I have only 1 directive, I get that site but I don't get the Apache
welcome as I should for the IP address in the browser.
When I have both sites, I get only site1 even if I use
httpd://ww.website2.com/index.html
What am I doing wrong?