You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Alfonso Romero <ib...@prodigy.net.mx> on 2003/07/16 01:05:27 UTC

Re: [users@httpd] Name resolution

I´d use

  ServerAlias xyz.com *.xyz.com

inside the virtual host directive.


Regards,

Alfonso
----- Original Message -----
From: "Michael Lewis" <ml...@xelent.net>
To: <us...@httpd.apache.org>
Sent: Tuesday, July 15, 2003 6:05 PM
Subject: [users@httpd] Name resolution


> I know that I had this working but in fooling around with various config
> files I seem to have lost it. When a user types XYZ.COM or WWW.XYZ.COM in
> their browser, I want them served from the same virtual host. In this
> situation I have two sites (as virtual hosts): www.xyz.com and
> admin.xyz.com. I want the default user entry xyz.com to go to www.xyz.com.
>
> Thanks in advance.
>
> Michael
>
>
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org