Forum Moderators: phranque
I have one machine running Debian with apache2 and Jboss.
DNS for www.mysite.com points to our router's IP, ports 80/8080 are forwarded to port 80/8080 respectively on the machine above.
The website content is all in Jboss, and currently to connect you must go to the URL www.mysite.com:8080/mysite.
Currently I have a simple html redirect as the default apache page so that www.mysite.com is auto forwarded to www.mysite.com:8080/mysite.
BUT... this is an unacceptable URL to give or show to the public, we want www.mysite.com to be the one shown.
What I want to do is for apache2 to handle the incoming request for www.mysite.com and display the content from www.mysite.com:8080/mysite but always show www.mysite.com in the address bar.
www.mysite.com:8080/mysite/foo would be shown as www.mysite.com/foo etc etc etc.
I am doing my own research but if anyone can give me pointers I would be grateful!
Thanks :-)
You want to reverse-proxy some (or possibly all) requests made to the front-end server on to the back-end server, which will achieve the transparent operation you're seeking.
Jim
[tomcat.apache.org...]