users@glassfish.java.net

Re: Glassfish on port 80 on alternate IP - pointers?

From: Gabe Wong <gabrielw_at_ngasi.com>
Date: Thu, 17 Jul 2008 22:21:42 -0700

Hi Angus,
Is it Apache 2 or Apache 2.2. mod_proxy is very easy to setup with 2.2.
Please let me know.
Regards


glassfish_at_javadesktop.org wrote:
> I'm running a server which hosts a number of websites, using Apache 2's virtual hosting features.
>
> I would now like to start adding Glassfish applications as virtual hosts. I've done a basic install of Glassfish and brought it up on the default port 8080.
>
> What I'd really like to do is to give the Glassfish-based sites their own IP, and have Glassfish listen on port 80. I currently have three IPs configured on the box, so I'd like to have something like:
>
> domain1.com --> ip1:80 (Apache)
> domain2.com --> ip1:80 (Apache)
> domain3.com --> ip2:80 (Glassfish)
> domain4.com --> ip2:80 (Glassfish)
>
> i.e. port 80 on ip1 will be handled by Apache, and port 80 on ip2 will be handled by Glassfish, with various domains mapped to one or the other.
>
> I've been assuming that having multiple IPs available meant that I could do this without proxying requests destined for the Glassfish server through Apache, but if mod_proxy is the easiest way to go and doesn't have any major negatives, then I'm open to that idea.
>
> Can anyone point me at documentation that would guide me through getting this set up?
>
> Thanks, Angus
> [Message sent by forum member 'angusm' (angusm)]
>
> http://forums.java.net/jive/thread.jspa?messageID=287193
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>


-- 
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com
NEW! 8.1 - Centrally manage Application Servers across multiple physical servers