You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CDitty <ma...@redhotsweeps.com> on 2002/02/09 18:32:24 UTC
another question - ServerName/ServerAlias
I have several domain names pointing to the same site. (see below) The
way it is right now, if someone visits redhotsites.com, they stay on
redhotsites.com url. I would like to force everyone to go to
www.redhotsweeps.com. I looked at the ServerAlias on the apache site and
tried this ServerAlias redhotsites.com www.redhotsweeps.com and it didn't
make any difference. Am I missing something simple here? Any idea on this?
ServerName www.redhotsweeps.com
ServerAlias redhotsweeps.com
ServerAlias www.redhotsites.com
ServerAlias redhotsites.com
ServerAlias www.redhotsites.net
ServerAlias redhotsites.net
ServerAlias winningentries.com
ServerAlias www.winningentries.com
ServerAlias sweepsgalore.com
ServerAlias www.sweepsgalore.com
Thanks
Chris
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: another question - ServerName/ServerAlias
Posted by CDitty <ma...@redhotsweeps.com>.
Thanks again. That was it.
Chris
At 11:42 AM 2/9/2002, you wrote:
>On Sat, 9 Feb 2002, CDitty wrote:
>
> > I have several domain names pointing to the same site. (see below) The
> > way it is right now, if someone visits redhotsites.com, they stay on
> > redhotsites.com url. I would like to force everyone to go to
> > www.redhotsweeps.com. I looked at the ServerAlias on the apache site and
> > tried this ServerAlias redhotsites.com www.redhotsweeps.com and it didn't
> > make any difference. Am I missing something simple here? Any idea on
> this?
>
>I think you are looking for this:
>http://httpd.apache.org/docs/misc/FAQ.html#canonical-hostnames
>
>Joshua.
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: another question - ServerName/ServerAlias
Posted by Joshua Slive <jo...@slive.ca>.
On Sat, 9 Feb 2002, CDitty wrote:
> I have several domain names pointing to the same site. (see below) The
> way it is right now, if someone visits redhotsites.com, they stay on
> redhotsites.com url. I would like to force everyone to go to
> www.redhotsweeps.com. I looked at the ServerAlias on the apache site and
> tried this ServerAlias redhotsites.com www.redhotsweeps.com and it didn't
> make any difference. Am I missing something simple here? Any idea on this?
I think you are looking for this:
http://httpd.apache.org/docs/misc/FAQ.html#canonical-hostnames
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org