[KLUG Members] Virtual Servers

Adam Williams members@kalamazoolinux.org
Mon, 01 Mar 2004 22:27:37 -0500


> I'm hosting 2 domains on the same sever. Using Apache, and my ISP hosting
> doing the DNS work.
> The problem is, my site resolves fine, whether mysite.net or www.mysite.net
> is used, the other domain, unless www is specified www.otherdomain.com it
> points to mysite.net.
> Why is this? Is it an Apache issue, or a DNS issue?

First declaration is default.

Add a ServerAlias otherdomain.com to the stanza where ServerName
www.otherdomain.com is.