From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 18:39:22 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 448C5106564A for ; Fri, 16 Mar 2012 18:39:22 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 09D308FC14 for ; Fri, 16 Mar 2012 18:39:20 +0000 (UTC) Received: by iahk25 with SMTP id k25so7827357iah.13 for ; Fri, 16 Mar 2012 11:39:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=aCnQTGnBBkRnY5wE8SF9IY7yb+4vRI0G7NVK0B7BJhg=; b=RQbUjcEpgZk1i3VrReK9nXHVOZobHqWa3eVwe09iNE+YoMKx2ucucZyQTo3axaHYbq rfCwVjoFw+2/iuKK3RR6iMyri9yzVycCsk4kHFQgwLCvkfzNDOH2bSiaF7aBo26vWImA aTeYzigcPFPvGMn/ZrISrn6cj8AHs1GTtxK1mn0ogQ+8WB0WEFFAg7FPIIWTHgNUAOEZ NhryCyAue2dmiNEDJYMq0V3t4Xzdl+J9OAsLtbhLPr4CCwx6kdPr+GKk9BtZojZOVT1e EJrOUhGvj+FC9v+jjFbRc0Jk+kqxWJWp8ALSUSii4sCY6yraC0CBkiT3tYGzgqfFwS// /DTw== MIME-Version: 1.0 Received: by 10.50.36.225 with SMTP id t1mr153201igj.69.1331923160526; Fri, 16 Mar 2012 11:39:20 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Fri, 16 Mar 2012 11:39:18 -0700 (PDT) In-Reply-To: <4F638434.3090207@googlemail.com> References: <4F638434.3090207@googlemail.com> Date: Fri, 16 Mar 2012 14:39:18 -0400 X-Google-Sender-Auth: aH5TGCRehGgjWZdoaOL1kXxE2Vc Message-ID: From: Alejandro Imass To: David Hughes Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmm7ShdHz0H7AR6K7SSPJUzyQB1PpJgxU49sUorrWRpjOBBf5xeO7Uaz37Y6B3JUu3rnrBS 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:39:22 -0000 On Fri, Mar 16, 2012 at 2:19 PM, David Hughes wrote: > Hi all, > > 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. > > 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. Please specify some more info: Are you in a FreeBSD Jail and you have a public or private IP bound to the Jail?