Re: apache2 and virtual hosts
On Sat, May 25, 2013 at 12:24 PM, Karl E. Jorgensen
<karl.jorgensen@nice.com> wrote:
> Hi
>
> On Sat, May 25, 2013 at 10:48:17AM +0100, Pol Hallen wrote:
>
> Ah.. But "http://www.domain2.com" is NOT the same as
> "http://domain2.com" - the "www" is merely a common convention. It
> actually makes it a different site.
>
> At the technical level, there is nothing wrong with presenting
> completely different websites on http://example.com and
> http://www.example.com. Just like "http://example.com" and
> "http://intranet.example.com" are different sites.
>
>
> No "ServerAlias www.domain1.com" ??
>
>
> Hope this helps
>
> --
> Karl E. Jorgensen
As Karl suggests it may be a problem with your DNS pointing. Try
looking at the return of :
$nslookup www.domain1.com
and then:
$nslookup www.domain2.com
Make sure that they return the same ip for the host.
KC9EYE
Reply to: