virtual servers on application server 8.1

Hi,

I am looking at migrating some web apps running under Apache/Tomcat to the java app server so I can make use of EJB functionality.

Currently I have 1 apache/tomcat setup handling 4 virtual servers, for example app1, app1-test, app2, app2-test. I have DNS entries so these can be referred to as http://[appname].mydomain.com and it is directed to 1 specific machine that listens on port 80 and then goes to the appropriate virtual host and presents the web application.

Now looking at the admin guide for the application server, it appears I have to create a listener on a different port for each individual application, so I would have to reference them like this:

<a href="http://app1.mydomain.com:80" target="_blank">http://app1.mydomain.com:80</a>

<a href="http://app1-test.mydomain.com:81" target="_blank">http://app1-test.mydomain.com:81</a>

<a href="http://app2.mydomain.com:82" target="_blank">http://app2.mydomain.com:82</a>

<a href="http://app2-test.mydomain.com:83" target="_blank">http://app2-test.mydomain.com:83</a>

Is this the case? Is there any way I can have all different dns names resolve to the one machine on port 80 and then have the app server route them to the appropriate web app each installed in their own domain?

Thanks

Chris

[1381 byte] By [ChrisC.] at [2007-11-26 6:14:07]
# 1
Multiple virtual servers can use the same listener.
ChrisKampmeier at 2007-7-6 13:51:30 > top of Java-index,Java Enterprise System,Java Enterprise System - General Discussion...