httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Fleck <>
Subject Re: [users@httpd] Multiple Names for site
Date Tue, 30 Sep 2003 18:49:00 GMT
>Peter Fleck wrote:
>>I want one site to be available with two domain names. Using 
>>virtual hosts, this looks like the way to do it:
>>  <VirtualHost>
>>Is that it? Now the site will be available from either domain.
>[ This is for apache 1.3.x - might or might not be similar for apache 2.x ]

Sorry. I'm using Apache 2.0.40 and I referred to the 2.x documentation.

>You want something like:
>NameVirtualHost ip_address
><VirtualHost ip_address:80>
>	ServerName
>	ServerAlias
>	.
>	.
>	.
>If you have UseCanonicalName On, then $ENV{SERVER_NAME} is set to 
>whatever is in the ServerName directive (and is used wherever the 
>server has to construct self-referencing URLs), if UseCanonicalName 
>is off, $ENV{SERVER_NAME} is set to whatever server name is in the 

Peter Fleck
Webmaster | University of Minnesota Cancer Center
Dinnaken Office Bldg.
925 Delaware St. SE
Minneapolis, MN  55414
612-625-8668 | |
Campus Mail: MMC 806

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