Page 1 of 1

Win 7 No Access vhosts sites within LAN 1.7.3 - [SOLVED]

PostPosted: 19. September 2011 23:19
by JLittle2
I'm running XAMPP 1.7.3 on Windows XP SP3. I have multiple virtual sites working using Apache vhosts. I can access the virtual sites from the WinXP host and from an android phone, and from a palm pre.

My problem is accessing my virtual site from a Windows 7 machine on the same LAN. I can get to the XAMPP success! page but I cannot get to the virtual hosts.

Possible suspects that I can think of are:
IP4 vs. IP6 issues? I'd hope that IP6 would be backwards compatible but I don't know how to trouble shoot this.
I'm using a dd-wrt (v24 SP2) router with DNSMasq, I've setup the virtual site in DNSMasq with the following address=/southernpicker.dev/192.168.1.1 followed with the line expand-hosts.

As I mentioned before I have some phones that can access the virtual hosts so it is just a Windows 7 issue.

I've searched the forums and internet without much luck. Any ideas are appreciated even if it is just a nudge of where to start looking.

Re: Windows 7 client not being served vhosts sites within LA

PostPosted: 19. September 2011 23:23
by Sharley
Did you setup the Win7 Hosts file?

[SOLVED] Win7 client not being served vhosts sites within LA

PostPosted: 19. September 2011 23:49
by JLittle2
Thanks! That did it.

When I opened the Win7 hosts file it had an old fixed ip address.

I got is working two different ways.

I changed the hosts file to point to the network name of the XAMPP server
or
my preferred way, I just deleted the line so that my router can handle the DNS redirection

Thanks again,
John

Re: Windows 7 client not being served vhosts sites within LA

PostPosted: 19. September 2011 23:56
by Sharley
John your most welcome and thanks for the detailed post and feedback. :)