From owner-freebsd-questions Wed Jul 29 15:55:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA20741 for freebsd-questions-outgoing; Wed, 29 Jul 1998 15:55:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from peloton.physics.montana.edu (peloton.physics.montana.edu [153.90.192.177]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA20718 for ; Wed, 29 Jul 1998 15:55:24 -0700 (PDT) (envelope-from brett@peloton.physics.montana.edu) Received: from localhost (brett@localhost) by peloton.physics.montana.edu (8.8.8/8.8.7) with SMTP id QAA28958; Wed, 29 Jul 1998 16:54:16 -0600 (MDT) (envelope-from brett@peloton.physics.montana.edu) Date: Wed, 29 Jul 1998 16:54:16 -0600 (MDT) From: Brett Taylor To: charlespeters@chickenbean.com cc: questions@FreeBSD.ORG Subject: Re: Virtual hosting In-Reply-To: <002501bdbb2f$c6742780$20710418@ci1000971-c.sptnbrg1.sc.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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