Vhost dont work after new windows

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Vhost dont work after new windows

Postby fyndler » 03. January 2010 00:32

Hi,

I recently upgraded to windows 7 and reinstalled xampp made a backup off my old vhost file and replace it, only thing is that it dont wanna work anymore

If i do this http://www.myurl.com it works but if i do myurl.com it dosent work wich it did before :/

So here was my settings i had before the upgrade

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\folder1"
ServerName mysite1.com
ServerAlias http://www.mysite1.com
<Directory "C:\xampp\htdocs\folder1">
</Directory>
</VirtualHost>


<VirtualHost *:80>
DocumentRoot "C:\xampp\htdocs\folder2"
ServerName myurl2.com
ServerAlias http://www.myurl2.com
<Directory "C:\xampp\htdocs\folder2>
</Directory>
</VirtualHost>

Any idea how it could just stop working ? :/

*edit*

Nevermind it worked after a while for some reason haha
fyndler
 
Posts: 38
Joined: 28. October 2007 17:29

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 124 guests