httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Hamilton Madison" <>
Subject Name based vhosts w/no DNS in dvl env.
Date Fri, 18 Jan 2002 05:56:09 GMT
	I've read all the documentation I can find regarding virtual hosts on, searched the archives at, and browsed google's Usenet archive trying to
find the answer to this question. I haven't been so lucky.

	I would like to set up multiple name based virtual hosts on my Win2K
machine, but the environment is strictly for development, is behind a
firewall, on a private network, and does not have any DNS entries. I thought
about doing IP based virtual hosts, but the machine only has one
non-routeable ip address, and I could not figure out a way to give it

	For example, I have a website that I develop for let's say On my
public webserver, it's at, and it's documentroot is
/usr/local/httpd/ I also develop for, and it's
document root is /usr/local/httpd/. On my public web server, I have name
based virtual hosts set up for each of these sites, and they work as

	I want to emulate this environment in my development space. For example if
I typed in http://localhost-vhost1, it would take me to
c:\home\html\vhost1.localhost, and if I typed in http://localhost-vhost2, it
would take me to c:\home\html\vhost2.localhost. Any suggestions as to how I
might go about that?

I am running:
$ ./Apache.exe -v
Server version: Apache/1.3.22 (Win32)
Server built:   Oct 11 2001 07:36:10


TIA, will summarize.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message