From owner-freebsd-questions@FreeBSD.ORG Fri Aug 25 13:09:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 44EB316A4E6 for ; Fri, 25 Aug 2006 13:09:33 +0000 (UTC) (envelope-from don.munyak@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9514F43DAE for ; Fri, 25 Aug 2006 13:09:01 +0000 (GMT) (envelope-from don.munyak@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so557422nzn for ; Fri, 25 Aug 2006 06:08:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VKPjl188O4JnHTG2QC4s+DXWoyG28fpLHdQnjAtMz6bFc1wDfusiPOIEK2tR38H1DiOT4QZgM1rvGe5rYkBaHZgHzyTc2ncaGHLWd5NivclrndY5mpKgSL8NpE4mBdyUrVpxSfnXrwoMOICInzVbM4TFxLqmRikUi3onbcWwHVM= Received: by 10.64.149.15 with SMTP id w15mr3663021qbd; Fri, 25 Aug 2006 06:02:05 -0700 (PDT) Received: by 10.65.203.17 with HTTP; Fri, 25 Aug 2006 06:02:05 -0700 (PDT) Message-ID: <6207f7d90608250602r14f5628crca1d92170a923d6c@mail.gmail.com> Date: Fri, 25 Aug 2006 09:02:05 -0400 From: "Don Munyak" To: albi In-Reply-To: <20060825112109.5ef23dcb.albi@scii.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6207f7d90608242215h2a3626f5v73636ec1038c7fe7@mail.gmail.com> <20060825112109.5ef23dcb.albi@scii.nl> Cc: freebsd-questions@freebsd.org Subject: Re: apache & Jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 13:09:33 -0000 On 8/25/06, albi wrote: > On Fri, 25 Aug 2006 01:15:52 -0400 > "Don Munyak" wrote: > > > I want to build a FreeBSD webserver to replace a M$ IIS web server. > > I've started researching using Jails but am a little confused. > > > > Given I am hosting four(4) websites, would I have four separate jails. > > each jail having a separate install of apache + php + mysql ? > > > > or would I be installing apache + php + mysql at the base system, and > > then have four separate jails for each web site and database files ?? > > there are even more possibilities : > - 1 host, 1 jail, apache with virtual hosts > - 1 host, 1 "build-jail", 4 apache-jails > - 1 host, apache with virtual hosts > > do you have different ip-addresses for those websites ? No for different IP's. Each will share a common IP. Apache would do hostname redirecting for incoming requests...I presume. I guess in this case the following would be the direction I'm headed > - 1 host, 1 jail, apache with virtual hosts Thanks again