Hi
in apache httpd.conf I have created 2 virtual host as i only have 1 ipaddress for the server but only the first one works corectly and bothe domain names serve the pages from the same document root instead of different once.
can someone advise what I have done wrong
thanks
<VirtualHost *:80>
DocumentRoot /var/www/domain1
ServerName domain1
ServerAlias *.domain1.co.uk
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www/domain2/
ServerName domain2
ServerAlias *.domain2.co.uk
</VirtualHost>