httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark McCulligh" <>
Subject [users@httpd] ServerAlias Question
Date Mon, 17 Mar 2003 19:29:17 GMT
I have a web site will more the one domain name (Example: and

I want when someone goes to they are redirected to

Can I do this through VirtualHost using ServerAlias.
<VirtualHost *>

Right now I uses to two different VirtualHost directories, one for both
domain names and have only one php page in site2 with a redirect command. I
assume there is a better way to do this through Apache.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message