You are here: Access Apache VirtualHosts from Same Box or from Lan????? « All PHP « IT news, forums, messages
Access Apache VirtualHosts from Same Box or from Lan?????

Posted by Ringo on 10/10/62 11:21

> > 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация