Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 18:35:24 -0800 (PST)
From:      Rick Hamell <hamellr@heorot.1nova.com>
To:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Apache and Virtual Hosts
Message-ID:  <Pine.BSF.4.21.0201081830420.77122-100000@heorot.1nova.com>

next in thread | raw e-mail | index | archive | help

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:

<VirtualHost 63.105.24.23>
ServerAdmin root@1nova.com
DocumentRoot /usr/local/www/data
ServerName 1nova.com
ServerAlias www.1nova.com heorot.1nova.com *.1nova.com
</VirtualHost>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0201081830420.77122-100000>