On Wed, 3 Sep 2003, Patrick Fleming wrote:
> > It actually takes both DNS and Apache being set up correctly to make
> > http://domain.tld work like http://www.domain.tld.
> >
> I think a simple CNAME entry would do the trick.
> domain.com CNAME www.domain.com
If you are serving multiple hosts (virtual hosts), Apache needs to know.
Usually by using the "ServerAlias" directive.
But as mentioned earlier, giving a 301 redirect may be better.
Here is a webpage about this:
Solving Google Page Rank problems with a 301 Redirect
http://www.aplawrence.com/Unixart/googlepagerank301.htm
Some docs are at
http://httpd.apache.org/docs/mod/mod_alias.html
Jeremy C. Reed
http://www.reedmedia.net/