users@glassfish.java.net

How to redirect to another port

From: <glassfish_at_javadesktop.org>
Date: Thu, 23 Sep 2010 11:57:55 PDT

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