From owner-freebsd-questions@FreeBSD.ORG Mon Sep 19 16:18:27 2005 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 97DA016A41F for ; Mon, 19 Sep 2005 16:18:27 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 839AA43D48 for ; Mon, 19 Sep 2005 16:18:26 +0000 (GMT) (envelope-from dopplecoder@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so7745nzk for ; Mon, 19 Sep 2005 09:18:26 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=r20opcISpZSrfEYl7PuX/jmRCWdnVOEAU3Bf7Fh4QO5DQBLUtKawyckWvlvbjDe7yXqQ7t/lNZ64BD84DhxVDyH/VAsLt8hnlxXNE+LISS1Vkc/bs7PfEr+njRXd0nlFu9T5w7VJm9M83VwErh0phxs/4W7nvFPFvC0eatggulg= Received: by 10.36.252.29 with SMTP id z29mr553210nzh; Mon, 19 Sep 2005 09:18:24 -0700 (PDT) Received: by 10.36.128.17 with HTTP; Mon, 19 Sep 2005 09:18:23 -0700 (PDT) Message-ID: <45d750d20509190918113c30de@mail.gmail.com> Date: Mon, 19 Sep 2005 12:18:23 -0400 From: Aaron Peterson To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Subject: Re: Many name - same IP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dopplecoder@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 16:18:27 -0000 On 9/19/05, Carstea Catalin wrote: > How make www.blogger.com ( for example ) to have many sub-domains with sa= me IP. > Ex: > blog1.blogspot.com - 66.102.155.101 > blog2.blogspot.com - 66.102.155.101 > blog3.blogspot.com - 66.102.155.101 > -- > this 66.102.155.101 is IP of host blogspot.blogspot.com > ............................... > it is about apache with tag virtual host ? First, the authoritative DNS servers for your domain must be configured to resolve all of the sub-domains to the specified IP address. Otherwise your server will never recieve any communication to begin with. Then to set up virtual hosting with apache, if you want one vhost to service all the sub-domains, I believe you can use the ServerAlias directive in your VirtualHost definition like so: ServerName blogspot.com ServerAlias *.blogspot.com Or set up separate vhost definitions for each sub-domain if you want them to point to different web directories on your server. Aaron