From owner-freebsd-questions@FreeBSD.ORG Fri Mar 16 18:38:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85D971065672 for ; Fri, 16 Mar 2012 18:38:38 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC7A8FC17 for ; Fri, 16 Mar 2012 18:38:37 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so4288753bkc.13 for ; Fri, 16 Mar 2012 11:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=z8ilX2k7+7fqwEY6dmT3Rs7fmCQHahq79NbRilndEyc=; b=VrPle12XHCBGUVYXMvp/q8UNag0ndF4R4Nljyas4e2nu+4DK73Rh2O8aKrRZGltbB2 fSoLVRlKhHJbzYy4AcSXPRp/rLcKnfOerE/0SiGrzcdvmrhBCC5Qoc0mi1/zJIsNjQRi YPI3wrFpTLlIv7x73PEwDPhHOTTzjgehxH91GxnVjSUGZcxx4QJJ4ZthaFw5NFXNBdQa OCpIurNSDOYH/7ZnAiNDEpbx55Scv8S2MCUcibzgcq4ne0nnEcDZ1MFfQqvqR0vy8XFI Tt6mMyImUmtL3bhX1Wltbo62m32mL2vOE3f7GOHRCKBnh/GyraR+C3D96VWJf+/kla/C 7NdQ== MIME-Version: 1.0 Received: by 10.204.130.151 with SMTP id t23mr1404510bks.27.1331923111384; Fri, 16 Mar 2012 11:38:31 -0700 (PDT) Received: by 10.204.174.203 with HTTP; Fri, 16 Mar 2012 11:38:31 -0700 (PDT) In-Reply-To: <4F638434.3090207@googlemail.com> References: <4F638434.3090207@googlemail.com> Date: Fri, 16 Mar 2012 13:38:31 -0500 Message-ID: From: "Edwin L. Culp W." To: David Hughes Content-Type: text/plain; charset=ISO-8859-1 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:38:38 -0000 2012/3/16 David Hughes > 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. > If you have control of your DNS for mywebsite.net just add a CNAME for blog.mywebsite.net and add a virtual server to your apache configuration. I'm assuming that you control your DNS and your apache server. More subdomains would requier repeating the process. Not much help without a bit more info on your installation. ed > > Thanks for your help, > > David > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " >