Connecting Tech Pros Worldwide Help | Site Map

Access Apache VirtualHosts from Same Box or from Lan?????

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 02:15 PM
Ringo
Guest
 
Posts: n/a
Default Access Apache VirtualHosts from Same Box or from Lan?????

[color=blue][color=green]
> > I'm trying to figure out how to access any VHosts
> > from samebox mode, or from pc connected to the same lan.
> > I've seen this done with Mac, but can't find how with win2k.
> > Can someone point me in the right direction?[/color][/color]
[color=blue]
> Vhost ... name or ip mode?
> If named-vhost, each ServerName must be resolvable by DNS or
> entered into hosts file on each PC -that's poor man's DNS- There
> is hosts and hosts.sam somwhere down the windows or winnt folder.
> HansH[/color]


Hans,
I went into hosts file in win2k (all computers), and entered
the lan nic's ip address and domain vhost names and aliases,
I also put the virtualhost statements in apache's httpd.conf file.
Thanks, Just what I was looking for. Works just fine.

Virtual hosts "name-based", what is the correct way to do
this. In apache, I used a *:80 in the vhost statements, to
keep the ip wide open, but with win2k, how do I keep the
name-based vhost mode going? What to which files
hosts? lmhosts.sam?

Thanks,
Ringo



  #2  
Old July 17th, 2005, 02:15 PM
Ringo
Guest
 
Posts: n/a
Default Re: Access Apache VirtualHosts from Same Box or from Lan?????


"Ringo" <Ringo@ms.com> wrote in message
news:w9-dnQ6396CMU0TfRVn-1A@eatel.net...[color=blue]
>[color=green][color=darkred]
> > > I'm trying to figure out how to access any VHosts
> > > from samebox mode, or from pc connected to the same lan.
> > > I've seen this done with Mac, but can't find how with win2k.
> > > Can someone point me in the right direction?[/color][/color]
>[color=green]
> > Vhost ... name or ip mode?
> > If named-vhost, each ServerName must be resolvable by DNS or
> > entered into hosts file on each PC -that's poor man's DNS- There
> > is hosts and hosts.sam somwhere down the windows or winnt folder.
> > HansH[/color]
>
>
> Hans,
> I went into hosts file in win2k (all computers), and entered
> the lan nic's ip address and domain vhost names and aliases,
> I also put the virtualhost statements in apache's httpd.conf file.
> Thanks, Just what I was looking for. Works just fine.
>
> Virtual hosts "name-based", what is the correct way to do
> this. In apache, I used a *:80 in the vhost statements, to
> keep the ip wide open, but with win2k, how do I keep the
> name-based vhost mode going? What to which files
> hosts? lmhosts.sam?
>
> Thanks,
> Ringo
>
>[/color]

I found the answers, here:
http://www.onlamp.com/pub/a/apache/2...24/vhosts.html




 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.