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

Re: [cobalt-users] Strange problem with http://domain.com vs www.domain.com



> My Raq 3 is correctly serving requests for virtual sites when they are
> addressed to http://www.domainname.com, but when they are addressed as
> http://domainname.com, it reverts to the root/main domain on the server.
> 
> I had the problem with one site and assumed it was an anomaly and went into
> httpd and manually added a ServerAlias line to the VirtualHost entry for
> the site, which solved the problem with that site... but it turns out that
> the problem is with *all* the virtual sites on the server.
> 
> Is there a server-wide default or modification I need to do for it to
> respond to both, or do I have to go into httpd and make an entry for each
> virtual host?

I have got the same problem and added the line
ServerAlias domain.de
But now both www.domain.de and domain.de do not
work right. (see http://www.yunus.de / http://yunus.de)
Do I have to copy the whole virtualsite entry for
the domain without www? 

Katrin