P
Peter X
Hi all,
When my computer is unplugged from the network, it doesn't seem to have
an IP address. Normally I'm using 192.168.1.20 and I run a local web
server for development purposes running a number of virtual webs, e.g.
d1.example.com
d2.example.com
d3.example.com
In my hosts file I've set d1.example.com, d2 and d3 to my own IP address
of 192.168.1.20 and everything works fine *except* when I disconnect
from the network!
I know I can get around this by changing the IP address in the hosts
file to 127.0.0.1 but I'd really like to be able to use a common hosts
file for a number of machines rather than have to maintain each
individually.
Does anyone have any ideas!!
Thanks in advance,
Peter.
When my computer is unplugged from the network, it doesn't seem to have
an IP address. Normally I'm using 192.168.1.20 and I run a local web
server for development purposes running a number of virtual webs, e.g.
d1.example.com
d2.example.com
d3.example.com
In my hosts file I've set d1.example.com, d2 and d3 to my own IP address
of 192.168.1.20 and everything works fine *except* when I disconnect
from the network!
I know I can get around this by changing the IP address in the hosts
file to 127.0.0.1 but I'd really like to be able to use a common hosts
file for a number of machines rather than have to maintain each
individually.
Does anyone have any ideas!!
Thanks in advance,
Peter.