I have run into this scenario where I have a Rackspace VPS server running Ubuntu 10.10 with Tomcat 6 serving a moderately complex JAVA WebApp using a fixed domain. The problem is that I would like to better utilize this setup and use Lighttpd to serve requests to other domains through Lighttpd. The issue is that I would like to have Tomcat 6 face all the requests and handle requests to its own domain only while forwarding all others to Lighttpd.
I have seen the reverse setup with Lighttpd handling requests and forwarding only specific requests to Tomcat 6 however, I would like to leave Tomcat 6's setup as is other than let it forward requests to domains it isn't serving to Lighttpd.
Is this possible?