From owner-freebsd-questions Tue Jan 8 17:35: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from 1nova.com (heorot.1nova.com [63.105.24.23]) by hub.freebsd.org (Postfix) with ESMTP id D764437B42B for ; Tue, 8 Jan 2002 17:34:43 -0800 (PST) Received: by 1nova.com (Postfix, from userid 1000) id E531418F2; Tue, 8 Jan 2002 18:35:24 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by 1nova.com (Postfix) with ESMTP id D3A6918F1 for ; Tue, 8 Jan 2002 18:35:24 -0800 (PST) Date: Tue, 8 Jan 2002 18:35:24 -0800 (PST) From: Rick Hamell To: FreeBSD-questions Subject: Apache and Virtual Hosts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Trying to fix a persistant problem with Apache and Virtual hosts. I'm trying to make 1nova.com www.1nova.com heorot.1nova.com All point to the same place. My ServerName is set to simply 1nova.com (though I've used both www.1nova.com and heorot.1nova.com also.) In VirtualHost I have: ServerAdmin root@1nova.com DocumentRoot /usr/local/www/data ServerName 1nova.com ServerAlias www.1nova.com heorot.1nova.com *.1nova.com At this point, I can use 1nova.com, heorot.1nova.com and even mail.1nova.com but www.1nova.com persists in giving me a 505 error! I believe the DNS to be setup correctly for all three alias'. I can ping each of them with similiar times. Mail arrives to hamellr@1nova. and hamellr@heorot.1nova. just fine. I've got another VirtualHost setup too, but it's simply the familiar www.xxx.com format. It works find, no ServerAlias commands in that statement. Thanks in advance for any help! Rick ******************************************************************* Rick's FreeBSD Web page http://heorot.1nova.com/freebsd Ace Logan's Hardware Guide http://hw.shatteredcrystal.com ***FreeBSD - The Power to Serve! http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message