[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Sub Domain Problem RaQ3i



Check the www.mydomain.com site settings and see if "Web access by domain"
is enabled.  You should still be able to create sites with the same domain
if it _IS_ enabled, but you cannot have two sites with the same domain
that both have this option on.  (same rule applies for the "Accept email
for domain" option)

The "Web access by domain" option will put a "ServerAlias" directive in
the <VirutalHost> block of the Apache /etc/httpd/conf/httpd.conf file
that looks something like:

<VirtualHost x.x.x.x>
ServerName www.domain.com
ServerAlias domain.com
...
</VirtualHost>

and tells Apache that incoming web requests like "http://domain.com/"; are
to be treated as "http://www.domain.com/";.  This means that you cannot
have two virtual sites with this same directive because Apache would be
confused.

If the www.domain.com virtual site does not have this option enabled and
you are still getting the error, then you may have found a bug.  I tried
it locally and was able to add the site, but there's always a big
difference between my raq here and one in use by a customer in the real
world...


good luck,
-duncan

In article <e0.417e5d9.2648a9bb@xxxxxxx> you wrote:
> Someone please help me...
>
> I'm trying to add a sub-doman (randy.mydomain.com) but I keep getting the 
> following error in the web user interface:
>
> "Another site is already aliased to the domain mydomain.com"
>
> It will not allow me to create the subdomain because www.mydomain.com already 
> exists.  This shouldn't be happening, correct?
>
> Thanks,
> ~Randy
>