I have set up a DNS server for local use in a LAN. This server can resolve IP addresses, so when I ping mypc.company I get a successful reply from the IP address 192.168.1.34.
Problem
I have deployed an app(myApp) on a Tomcat application server on a machine (192.168.1.34). I can access this through these URLs:
http://mypc.company:8080/myApp
http://192.168.1.34:8080/myApp
Question
Is there any way to set up a domain name (or any technique) so that when I navigate to www.myApp.com , which will take me directly to http://192.168.1.34:8080/myApp?