I've got a tomcat server instance running inside of eclipse. By default it uses a hostname similar to http://localhost:8080/MyApp/
is there some way to proxy this so I can use a domain name like http://example.com/
instead?
On the production server I use apache to proxy the request to point to the tomcat instance, but within eclipse I don't have that luxury.
I'm using Ubuntu. I thought maybe I could map the domain to point to the localhost version in /etc/hosts
but that seems to only be the first step. From there I can't figure out how to point the domain to the tomcat url.