httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] NameVirtualHost question
Date Mon, 17 Sep 2007 17:54:56 GMT
On 18/09/2007, Néstor Boscán <nestor.boscan@tcs.com.ve> wrote:
> I have a server that has an Apache Server 1.3. The server only has 1 IP and
> can be access using two differente names server1 and server2. I would like
> to create a VirtualHost for each name that sets the ServerName. Now I tried
> the following

Try:

NameVirtualHost *:80

<VirtualHost *:80>
  ServerName server1
  ...
</VirtualHost>

<VirtualHost *:80>
  ServerName server2
  ...
</VirtualHost>

-- 
noodl
Mime
View raw message