From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 18:57:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DEA11065670 for ; Fri, 16 Mar 2012 18:57:49 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [75.99.82.91]) by mx1.freebsd.org (Postfix) with ESMTP id 945B98FC08 for ; Fri, 16 Mar 2012 18:57:48 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.olivent.com (Kerio Connect 7.0.0 patch 1) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Fri, 16 Mar 2012 14:27:38 -0400 Mime-Version: 1.0 (Apple Message framework v1084) From: mikel king In-Reply-To: <4F638434.3090207@googlemail.com> Date: Fri, 16 Mar 2012 14:27:21 -0400 Message-Id: References: <4F638434.3090207@googlemail.com> To: David Hughes X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Virtual Hosts & Subdomains 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, 16 Mar 2012 18:57:49 -0000 On Mar 16, 2012, at 2:19 PM, David Hughes wrote: > Hi all, >=20 > Forgive me if this is slightly off-topic, but I wonder if I could = trouble you for some advice about setting up website subdomains with = Apache. I currently have a website up and running on a jailed VPS; I've = been trying to set up subdomains so that one might navigate to a certain = area of the site by using a URL of the form blog.mywebsite.net rather = than mywebsite.net/blog. >=20 > I've tried reading the official Apache documentation and a number of = tutorials that I've found online, but nothing I've tried has worked so = far. Do Virtual Hosts behave differently if they're within a jail? Or do = I need some sort of DNS registration for subdomains? I've been trying to = figure it out by myself, with little success so far - I'm quite new to = this. >=20 > Thanks for your help, >=20 > David You may need to setup namebased virtual hosting. This article may help point you in the right direction.... = http://bit.ly/qUyZQY Regards, Mikel King BSD News Network http://bsdnews.net skype: mikel.king http://twitter.com/mikelking