From owner-freebsd-questions Mon Sep 3 13:13:16 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mackeson.acmyers.com (ubr-27.202.89.unionpark.cfl.rr.com [24.27.202.89]) by hub.freebsd.org (Postfix) with ESMTP id 2E00637B407 for ; Mon, 3 Sep 2001 13:13:13 -0700 (PDT) Received: from heineken (heineken.acmyers.com [192.168.254.21]) by mackeson.acmyers.com (8.11.3/8.11.3) with SMTP id f83KDC300307 for ; Mon, 3 Sep 2001 16:13:12 -0400 (EDT) (envelope-from andy@acmyers.com) Message-ID: <003101c134b4$d5053350$15fea8c0@heineken> From: "Andy Myers" To: Subject: Apache question Date: Mon, 3 Sep 2001 16:13:01 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all. This is an Apache question, but I'm hoping someone here can answer it. I want my freebsd box to host another web site with a different domain name. I set up virtual hosting in httpd.conf as instuction in the apache docs, but when I try to bring up www.domain2.com in my browser, it always brings up www.domain1.com. www.domain1.com is the main site hosted by apache. The virtual host portion of my httpd.conf file is: NameVirtualHost * ServerAdmin sysadmin@domain2.com DocumentRoot /usr/local/www/domain2 ServerName www.domain2.com Any ideas? I must be missing something! Thanks much. Andy Myers Orlando, Florida USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message