Re: problem accessing virtual host from windows xp
- From: Ian Northeast <ian@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 Apr 2007 01:44:16 +0100
On Mon, 09 Apr 2007 19:05:57 -0500, Dave Uhring wrote:
On Tue, 10 Apr 2007 00:35:04 +0100, Ian Northeast wrote:
On Mon, 09 Apr 2007 13:31:01 -0700, linux_learner wrote:
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
192.168.1
now the problem is that when i try to browse these sites from my xp
using ipaddress 192.68.0.3 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.
Regards, Ian
.
- References:
- problem accessing virtual host from windows xp
- From: linux_learner
- Re: problem accessing virtual host from windows xp
- From: Ian Northeast
- Re: problem accessing virtual host from windows xp
- From: Dave Uhring
- problem accessing virtual host from windows xp
- Prev by Date: Re: problem accessing virtual host from windows xp
- Next by Date: Re: Interface goes down
- Previous by thread: Re: problem accessing virtual host from windows xp
- Next by thread: Re: problem accessing virtual host from windows xp
- Index(es):
Relevant Pages
|