Tomcat and multiple domains/applications

后端 未结 3 741
情深已故
情深已故 2020-12-12 19:02

Currently I run single tomcat with single WAR application on port 80. The domain name www.foo.org is pointed to this server ip.

What is the procedure of ad

3条回答
  •  误落风尘
    2020-12-12 19:51

    Usually you have a tomcat (or other application server) on port different from 80 (like 8080 or 7001 or anything you want). After that you put a web server (like apache http server) on port 80 and configure one or many connector to point to different port on different application server with different address.

    For Apache http + tomcat you can take a look at this link:

    http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html

提交回复
热议问题