On Tue, Jun 8, 2010 at 1:53 PM, Jarry <mr.ja...@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

Reply via email to