By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,990 Members | 1,741 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,990 IT Pros & Developers. It's quick & easy.

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

P: n/a
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?
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

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
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Ringo" <Ri***@ms.com> wrote in message
news:w9********************@eatel.net...
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?

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

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


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


Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.