From owner-freebsd-questions@FreeBSD.ORG Mon Nov 5 02:02:32 2007 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 31FCC16A46B for ; Mon, 5 Nov 2007 02:02:32 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 816D413C4B0 for ; Mon, 5 Nov 2007 02:02:31 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id lA5226rT070444 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Nov 2007 09:02:06 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.6/8.12.11) id lA5226v4006753; Mon, 5 Nov 2007 09:02:06 +0700 (ICT) Date: Mon, 5 Nov 2007 09:02:06 +0700 (ICT) Message-Id: <200711050202.lA5226v4006753@banyan.cs.ait.ac.th> From: Olivier Nicole To: office@ourweb.net In-reply-to: <472E77DC.3090502@ourweb.net> (message from Bill Banks on Sun, 04 Nov 2007 20:54:36 -0500) References: <472E77DC.3090502@ourweb.net> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: tranceddancer@hotmail.com, freebsd-questions@freebsd.org Subject: Re: DNS and IP 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: Mon, 05 Nov 2007 02:02:32 -0000 Hi, > Of course, just setup a virtual host in your httpd.conf file point > the dns to the same ip. Apache will take care of the rest. To be a litthe bit more precise, in your Apache configuraton you need something like: NameVirtualHost 10.0.0.1 ServerName www.first-server.com ... ServerName www.second-server.com ... BUT!!!! you will not be able to configure SSL on both sites, it will be either one or the other. You need on distinct IP per site to configure SSL. Best regards, Olivier > Brian Finniff wrote: > > > My question is, if you are running a website for 2 different people > > on the Internet and they both wanted to acquire a domain but you > > only have one IP address, would it be possible to forward each > > domain to the same IP address and somehow each one becomes distinct? > > If so, how is this possible? Can you explain to me how it can be > > done. >