I have installed glassfish 3.1.1 and configuring virtual servers under Configuration->Server-config->Virtual server.
We did add properties and put name and values as followed
and then reboot glassfish.
But still it is not working.
Let me know if i have to make some correction in this OR complete new method for Redirecting URL in glassfish.