Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 16:30:50 -0400
From:      charlespeters@chickenbean.com
To:        <questions@FreeBSD.ORG>
Subject:   Virtual hosting
Message-ID:  <002501bdbb2f$c6742780$20710418@ci1000971-c.sptnbrg1.sc.home.com>

next in thread | raw e-mail | index | archive | help
I have set up a 2.2.6 server, and have set up a virtual host by placing the
following commands in the rc.conf file:

	ifconfig_de0="inet 999.999.999.50 netmask 255.255.255.0"
	ifconfig_de0_alias0="sampledomain.org"

I can now 'ping sampledomain.org' succesfully.  The problem is when I access
www.sampledomain.org, it points my browser to the 999.999.999.50 site, but
that's what I would expect it to do.  My question is how do I set up my
system so that when a users browses to www.sampledomain.org, his browser
actually points to a particular sub-directory on the server.  Also, I need
to accomplish the same type of placement into a predetermined subdirectory
when a user logs into ftp.sampledomain.org or telnet sampledomain.org.

Point me to a resource, and I think that I can find my way from there.

Thanks,

Charles

charlespeters@chickenbean.com
charlespeters@tecpro.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501bdbb2f$c6742780$20710418>