1 |
On Tue, Jun 8, 2010 at 1:53 PM, Jarry <mr.jarry@×××××.com> wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I have some problem with apache virtual hosts configuration. |
5 |
> When I enter http://www.<myhost>.com in browser, I get the right |
6 |
> page. But when I enter http://<myhost>.com, I'm redirected to |
7 |
> default (other) page on the server. Where could be the problem? |
8 |
> Should not the ServerAlias directive take care of it? |
9 |
> |
10 |
|
11 |
|
12 |
I'm not an expert, but what IP do you have pointing to each hostname |
13 |
(www. and non-www.)? I know with my DNS service I make sure that the |
14 |
same IP points to both, where one is the A-record and the other is a |
15 |
Alias/CNAME. |
16 |
|
17 |
HTH, |
18 |
-Neal |