Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Mixing virtual hosting techniques


  • From: Matus UHLAR - fantomas <uhlar@xxxxxxxxxxx>
  • Subject: Re: [users@httpd] Mixing virtual hosting techniques
  • Date: Mon, 4 Sep 2006 09:25:52 +0200

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@xxxxxxxxxxx ; 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx