1
I have several name-based virtual hosts running on my local Apache 2.2 server on my Windows PC. Now, I would also like to access these virtual hosts from a remote device connected to my PC by WiFi Hotspot but this doesn't seem to be working.
Here's what I did:
- Connect my phone to my PC's hotspot
- Try to access a virtual host by name
- Try to access it by IPv4
Here's what I observed:
- I cannot access virtual hosts by name
- I can access IPv4 but only for the time when Windows is identifying the hotspot network just after when I turn it on. As soon as windows is done identifying, IPv4 becomes inaccessible.
Am I missing something? I would prefer to access these virtual hosts by name instead of IP address.
1How did you set this WiFi network up? Basically, what you’ll need is a configurable DNS server. – Daniel B – 2015-05-16T19:20:51.607
@DanielB : I enabled the WiFi Hotspot from
cmd
. That's it. And I'm sorry but I don't know so much about DNS servers. – ashu – 2015-05-16T19:32:35.067