title: How to host multiple websites on GlassFish 4.0 server
body: <p>I have GlassFish 4.0 and I want to host tow different websites on it by uploading war files,</p>
  
  <p>So I have the first website in (web1.war) and the second website in (web2.war), How can I access them using (www.web1.com) and (www.web2.com) using GlassFish 4.0 server.</p>
  
  <p>Assuming for sure that (www.web1.com) and (www.web2.com) are reserved domains for me and GlassFish 4.0 is installed on a public server with a public ip.</p>