>>> i have apache running on my fedora machine. i have created virtual
>>> hosts on that and i am able to access various websites hosted on
>>> different virtual host from local machine. i have added these names to
>>> /etc/hosts files in linux.
>>> the ip address of linux is 192.168.0.3 and that of windows xp is
>>> now the problem is that when i try to browse these sites from my xp
>>> using ipaddress 220.127.116.11 in ie browser, i get the following error.
>>> Cannot find server or DNS
>> If you are determined, for whatever reason, not to use DNS then put your
>> virtual host names into the Windows hosts file. I can't remember where
>> it is and as this is a Linux group I can't be bothered to start up a
>> Windows machine just to find it. I'm sure you'll be able to.
> IIRC the Windows hosts file is C:\windows\system32\drivers\etc\hosts And I
> don't think that the OP will even be able to see that because the default
> Windows *hides* such system files.
> I don't even have a Windows machine to confirm that.
I think you are correct about the pathname. I couldn't remember that lot:)
I'm not sure about the hiding as one of the first things I do whenever I
have the "pleasure" of administering a Windows machine is to turn off this
"facility". But I don't think it hides files with no extension.
A little gotcha, in early Windows versions at least, is that
the file does not exist by default. Instead is a sample file called
"hosts.sam". Which causes merry hell on a machine with Lotus SmartSuite
installed, which uses ".sam" as an extension.
But this is a Linux group, so we don't have to worry about these foibles.