httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Hamilton Madison" <Ryan.Madi...@escf.com>
Subject Name based vhosts w/no DNS in dvl env.
Date Fri, 18 Jan 2002 05:56:09 GMT
Hello,
	I've read all the documentation I can find regarding virtual hosts on
http://httpd.apache.org, searched the archives at
http://marc.theaimsgroup.com, 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
another.

	For example, I have a website that I develop for let's say foo.com. On my
public webserver, it's at name1.foo.com, and it's documentroot is
/usr/local/httpd/name1.foo.com/. I also develop for www.foo.com, 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
expected.

	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

Windows2K

TIA, will summarize.
RYAN




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message