From owner-freebsd-questions@FreeBSD.ORG Sat May 17 03:27:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52DA237B401 for ; Sat, 17 May 2003 03:27:52 -0700 (PDT) Received: from tina.la3sg.net (la3sg.net [217.13.29.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20F6B43F3F for ; Sat, 17 May 2003 03:27:51 -0700 (PDT) (envelope-from tina@tina.la3sg.net) Received: from tina.la3sg.net (tina@localhost.la3sg.net [127.0.0.1]) by tina.la3sg.net (8.12.8p1/8.12.8) with ESMTP id h4HARmQb015984; Sat, 17 May 2003 12:27:48 +0200 (CEST) (envelope-from tina@tina.la3sg.net) Received: (from tina@localhost) by tina.la3sg.net (8.12.8p1/8.12.8/Submit) id h4HARmZu015975; Sat, 17 May 2003 12:27:48 +0200 (CEST) Date: Sat, 17 May 2003 12:27:47 +0200 From: Kjell Midtseter To: Matt L Message-ID: <20030517102747.GC1032@tina.la3sg.net> References: <20030517022956.67162.qmail@web9501.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030517022956.67162.qmail@web9501.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Regarding Virtual Hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kmidtset@c2i.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 10:27:52 -0000 On Friday, 16 May 2003 at 19:29:56 -0700, Matt L wrote: > Hi this e-mail is regarding setting up virtual hosts using freebsd and hosting multiple domains to point to my ip. I currently registered three domains and i'd like to host my web sites off my local machine. I was wondering how would i be able to have, http://www.mydomain.com and http://www.mydomain2.com both domains pointing to different pages. The problem i'm currently having is; both domains point to the same default domain being, domain 1. Would i create the virtual hosts within httpd.conf? if so how do i go about this. Also, would i add the domains i want to host on my machine within namedb? Any clue or how to pages would be greatly apperciated. > I have set up my site to do what you intend. All steps required are documented at http://freebsd.la3sg.net/index.php?to=app_webaliz Regards Kjell