Skip to main content

Glassfish Community Edition - Setting up custom URL for Domain

1 reply [Last post]
taepodong1101
Offline
Joined: 2012-11-04
Points: 0

Hi,

I am using GlassFish Server Community Edition v3.1 on OEL v5.

In my domain I have 1 application running and I want configure the server such that when user go to http://localhost/ they are redirected to the application URL instead of the "Your server is now running" page?

Could someone kindly guide me how this can be done? Many Thanks.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
taepodong1101
Offline
Joined: 2012-11-04
Points: 0

Found out how to do it. In docroot directory theres a index.html file.

delete the content and in between: < head > < /head> tag, this code:

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.example.com.au">