I've tried searching for this, but I think because www is only three characters I can't find anything.
I've finally go XAMPP running on Windows 7 with access from both the XAMPP machine and my laptop, however I can't figure out how to be able to use http://www.mysite.loc. I can use mysite.loc but I can't get to the "home" page because it always converts to http://www.mysite.loc.
I've tried both
127.0.0.1 http://www.mysite.loc
&
127.0.0.1 mysite.loc
In my httpd-vhosts.conf file I have
<VirtualHost http://www.mysite.loc:80>
DocumentRoot "/localsites/mysite"
ServerName http://www.mysite.loc
ServerAlias mysite.loc *.mysite.loc
</VirtualHost>
If I remove all the www, I can access mysite.loc/wp-admin but I can goto mysite.loc.
Any help would really be appreciated, I've been mucking about trying to get this working for at least 2 weeks on Windows 7, and it's just been one issue after the other.