Mixing virtual hosting techniques

Mixing virtual hosting techniques

am 04.09.2006 09:11:38 von Devraj Mukherjee

Hi everyone,

I am looking at running an Apache web server with a combination of
name and ip based virtual hosting.

Say I have ip address 192.168.1.3 and 192.168.1.4 and I wish to listen
on both those ip addresses and provide virtual name based virtual
hosting on each one of those addresses

So 192.168.1.3 would be domain1.com as well as intranet.domain1.com
where as 192.168.1.4 would be domain2.com and https://domain2.com

Is this trivial? Any resources on the above will be appreciated.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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

Re: Mixing virtual hosting techniques

am 04.09.2006 09:25:52 von Matus UHLAR - fantomas

On 04.09.06 17:11, Devraj Mukherjee wrote:
> I am looking at running an Apache web server with a combination of
> name and ip based virtual hosting.
>
> Say I have ip address 192.168.1.3 and 192.168.1.4 and I wish to listen
> on both those ip addresses and provide virtual name based virtual
> hosting on each one of those addresses
>
> So 192.168.1.3 would be domain1.com as well as intranet.domain1.com
> where as 192.168.1.4 would be domain2.com and https://domain2.com
>
> Is this trivial? Any resources on the above will be appreciated.

yes. Just set up Listen, NameVirtualHost for both those IP's and set up
virtual hosts on them.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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