Create and run new domain on Glassfish server
Glassfish server is shipped with default domain (domain1). For most of our development purposes default domain is sufficient. But there are cases when you need additional domain and even run the application simultaneously on multiple domains. While creating a new domain we should be cautious about ports. Use following command …