I installed the Glassfish 3.1 application server. created a domain and that's it. deployed war file and its working tone in the local machine. now my problem is:
First you need to make sure that the DNS resolution is working correctly and that the domain name points to your IP address of your server.
Glassfish 3.x :
www.yourdomain.com:8080