Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 1998 16:54:16 -0600 (MDT)
From:      Brett Taylor <brett@peloton.physics.montana.edu>
To:        charlespeters@chickenbean.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Virtual hosting
Message-ID:  <Pine.BSF.3.96.980729165156.28930B-100000@peloton.physics.montana.edu>
In-Reply-To: <002501bdbb2f$c6742780$20710418@ci1000971-c.sptnbrg1.sc.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

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

Assuming you are running apache, you can do this by editing your
httpd.conf (should be in /usr/local/etc/apache).  There is sample of how
to do this in the distributed version of the httpd.conf file
(http.conf.dist). 

Good luck.

Brett
*************************************************************
Brett Taylor            brett@peloton.physics.montana.edu
http://peloton.physics.montana.edu/brett/

If I said you were sexy, would you hold your body against me? 


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?Pine.BSF.3.96.980729165156.28930B-100000>