Glassfish v2.1.1 site redirect

Simple to do, hard to locate the information on how to.
Hopefully you’ll find this a lot easier..

Navigate to :

Configuration, HTTP Service, Virtual Servers, server

Scroll to bottom of page :
Add Property

Name :

Value :
from=/{name of webapp to redirect} url={URL to redirect traffic to}

(dont include the ‘{‘ ‘}’ brackets)

It should look something like this :
from=/mywebapp url=

Click ‘Save’ button.



  1. Pingback: glassfish standalone mode – redirecting to | Code and Programming

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s