Some details
- XAMPP 1.7.1
- OS tested on vista and xp
Hello everyone. I have some problems with configuring my virtual hosts. Currently I have two sites.
Here is my vhost.conf file:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot c:/xampp/htdocs/site1/trunk/
ServerName site1.local
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot c:/xampp/htdocs/site2/trunk/
ServerName site2.local
</VirtualHost>
And of course in my host file I have
127.0.0.1 site1.local
127.0.0.1 site2.local
I have restarted apache as well as my browser various times.
Here is my problem:
http://site1.local works. But when i go to http://site2.local, I land at site1.local.
any idea's?