[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] CNAME in the same IP-Cobalt RAQ3



Many thanks Jeff

But I don´t know how and where I do it :

to the VirtualHost section for "www.abc.com" in
> /etc/httpd/conf/httpd.conf, and then restarting apache as follows:
>
> # kill -HUP `cat /var/run/httpd.pid`

Is there any way to do it from the server management?

Many thanks
Regards
Fabian

----- Original Message -----
From: "Jeff Lasman" <jblists@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 23, 2000 3:35 AM
Subject: Re: [cobalt-users] CNAME in the same IP-Cobalt RAQ3


> ADNVS wrote:
> > I need to redirect a domain name www.abc.com.ar to www.abc.com (this is
> > hosted in my Cobalt and working fine).
> > The point is that www.abc.com is working under the same IP (Virtual
Name)
> > that my main domain and many others domains...
> > When I Add CNAME record at Control panel I´m type:
> >
> > www.abc.com.ar ---->> www.abc.com
> >
> > But now, when I type the URL www.abc.com.ar redirect to my main domain
and
> > not to the correct domain...:-(
>
> The problem is that when you're doing virtual hosting with a shared IP,
> the browser has no idea which site to serve; it can't check by name,
> because "www.abc.com.ar" is NOT the same as "www.abc.com".
>
> Fix this by adding a ServerAlias line:
>
> ServerAlias www.abc.com.ar
>
> to the VirtualHost section for "www.abc.com" in
> /etc/httpd/conf/httpd.conf, and then restarting apache as follows:
>
> # kill -HUP `cat /var/run/httpd.pid`
>
> Note that those are NOT usuall single quotes, but rather the key to the
> left of the "1" key.
>
> Jeff
> --
> Jeff Lasman <jblists@xxxxxxxxxxxxx>
> nobaloney.net
> P. O. Box 52672
> Riverside, CA  92517
> voice: (909) 787-8589  *  fax: (909) 782-0205
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>