title: Change localhost with port to domain name
body: <p>My webapp is built using JAVA(Backend) + JavaScript(FrontEnd) and I'm using Tomcat 8.0 as server. </p>
  
  <p>Currently the URL to the webapp is "localhost:8083/myapp/index.jsp" and I have been trying to change it to a domain name in the hosts file (Under win/sys32/drivers/etc/..) and server.xml (under Tomcat) but unfortunately I wasn't able to achieve that. Any tips please? </p>