Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50741 invoked from network); 7 Jun 2005 20:22:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 20:22:13 -0000 Received: (qmail 70790 invoked by uid 500); 7 Jun 2005 20:21:56 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70774 invoked by uid 500); 7 Jun 2005 20:21:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 70738 invoked by uid 99); 7 Jun 2005 20:21:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jslive@gmail.com designates 64.233.184.204 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 13:21:53 -0700 Received: by wproxy.gmail.com with SMTP id 36so903wra for ; Tue, 07 Jun 2005 13:21:35 -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=XBNmN7dmfoPzxV5y5NidXEAErH9xCx/E6zq4l2IT6/mPosMd6AcCZW71G7Mq8+OiD+DhfIodRbIrsFP/mBw0y4TNkqQLLmq7I0yQLFJw9sovemA56GzbksUGFR7lpoU4Bxa9BjpZh19CEXLk6XTIXcc+I7LyfOOu/n8PpXHxnWA= Received: by 10.54.2.42 with SMTP id 42mr4259262wrb; Tue, 07 Jun 2005 13:20:45 -0700 (PDT) Received: by 10.54.61.7 with HTTP; Tue, 7 Jun 2005 13:20:43 -0700 (PDT) Message-ID: Date: Tue, 7 Jun 2005 16:20:43 -0400 From: Joshua Slive Reply-To: Joshua Slive To: users@httpd.apache.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: X-Virus-Checked: Checked Subject: Re: [users@httpd] Name-based Virtual Host X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/7/05, Beth Curotto wrote: > =20 > I have setup 2 virtual hosts in httpd.conf =20 > I have one external ip address being nat'd to an internal ip=20 > I would like to use both websites directed to the same external, to then = be > handled by httpd.conf.=20 > =20 > Am I on target so far?=20 > =20 > One of the Virtual Hosts is for - www.mowingandmore.net=20 > =20 > The DNS info for this site is set through Network Solutions. It is pointi= ng > to 66.196.225.50=20 > But when I try website name it defaults to general/default DocumentRoot, = not > the one I set in the VirtualHost=20 > =20 > This is my Virtual Host setup in httpd.conf .......=20 > =20 > NameVirtualHost 66.196.225.50=20 The NameVirtualHost must refer to the IP address as seen from the server -- behind the NAT. To avoid this complication, simply use NameVirtualHost *:80 as recommended by the docs. Also use to match. > # Virtual Host 1=20 > =20 > DocumentRoot /var/www/html/mow=20 > ServerName mowingandmore.net=20 > ServerSignature email=20 > =20 > Can someone tell me where I am missing the boat.=20 You are also missing a ServerAlias www.mowingandmore.net inside the container. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org