I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT...
I don't want the end user to type: 10.21.34.56:8080/webapp
Instead I want him to type: http://www.webapp.com and let the local DNS on the intranet resolve it to the corresponding IP.
I can do a little..I succeed in this: "www.webapp.com:8080".
I don't want the 8080 to be typed.
Though I found a way to do this. I am not fully satisfied.
The browser by default sends all the http requests to port 80. So, I used iptables on the server, and redirected the request to port 8080. That didn't seem worthwhile discovery.
SO, I hear about virtual hosting on apache-tomcat, which they say is a solution to this.
Show me light!