FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-08-2010, 07:03 PM
Neal Hogan
 
Default http://.com is not redirected to http://www..com

On Tue, Jun 8, 2010 at 1:53 PM, Jarry <mr.jarry@gmail.com> wrote:
> Hi,
>
> I have some problem with apache virtual hosts configuration.
> When I enter http://www.<myhost>.com in browser, I get the right
> page. But when I enter http://<myhost>.com, I'm redirected to
> default (other) page on the server. Where could be the problem?
> Should not the ServerAlias directive take care of it?
>


I'm not an expert, but what IP do you have pointing to each hostname
(www. and non-www.)? I know with my DNS service I make sure that the
same IP points to both, where one is the A-record and the other is a
Alias/CNAME.

HTH,
-Neal
 

Thread Tools




All times are GMT. The time now is 03:00 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org