users@glassfish.java.net

Re: How to redirect to another port

From: Shing Wai Chan <shing.wai.chan_at_oracle.com>
Date: Thu, 23 Sep 2010 12:38:26 -0700

In this case, you may like to use port 80 and set MY-APP as the default
web module.
Shing Wai Chan

On 9/23/2010 11:57 AM, glassfish_at_javadesktop.org wrote:
> Hello,
>
> I have deployed a web-app "MY-APP" to GF v3. (JSF/JPA/MYSQL)
>
> GF listens on 38080.
>
> To goto to the "MY-APP" you would enter "http://111.222.333.444:38080/MY_APP".
>
> I have registered a new domain name "mydomain.com" which points to http://111.222.333.444 and that works fine.
>
> My problem is what must I do in GF so that a user who types in http://www.mydomain,com gets sent to MY-APP which is at http://111.222.333.444:38080/MY_APP?
>
> The ":38080/MY-APP" is the part I am stuck on.
>
> Any help is appreciated.
>
> Thanks!
> [Message sent by forum member 'maxmcbyte']
>
> http://forums.java.net/jive/thread.jspa?messageID=483506
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>