Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

w2ksp4.exe, WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF

Links

XODOX
Impressum

#1: Mixing virtual hosting techniques

Posted on 2006-09-04 09:11:38 by 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 <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

Report this message

#2: Re: Mixing virtual hosting techniques

Posted on 2006-09-04 09:25:52 by 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 <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

Report this message