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

Re: [cobalt-developers] cname?



Mark Baker - Cobalt Lists wrote:

> Hi,
> 
> Just wondering what I'm doing wrong!
> 
> I want to have name.subdomain.com point to domain.com (don't ask why!)
> 
> It doesn't have an IP, so I used a cname to send name.subdomain.com to
> domain.com but it ends up on the ns.domain page!
> 
> Any ideas why?

This question really belongs on cobalt-users, Mark; not on
cobalt-developers.

I bet you've got multiple domains pointed at the same IP#.  If you do,
you can't just point calls to name.subdomain.com to domain.com, because
your apache server is using name-based hosting.

What you need to do is insert a ServerAlias entry for name.subdomain.com
into the /etc/httpd/conf/httpd.conf entry for domain.com.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205