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

[cobalt-users] catchall for (sub) domain on a RAQ4



Hi,

I have a virtual host, say www.domain.com. Everything is working just fine,
however...... I would like *.domain.com to point to www.domain.com, so if
somebody enters dsfsdjf.domain.com it should forward to www.domain.com.
I think it can be done with the 'Web Server Alias', at least that is what
the Apache manual says. It says to get the desired result you would have to
add *.domain.com to the ServerAlias directive in the httpd.conf file. Since
there is no way of adding it through the cobalt administration (it doesn't
allow for * to be used in the Web Server Alias input field), I added it
manually, but without success. Any suggestions?

Also, for example, trying sdghfhsdg.domain.com gives a DNS error, and
sdgfsdg.anotherdomain.com forwards to the first virtual host defined for
that IP (because of the order in the httpd.conf file). Does anybody know the
reason for this strange behavior?

Thanks,

Martin