简体   繁体   中英

Run IIS and jboss/glassfish/wildfly on a single VPS

I was wondering if anyone knows of any solutions to run IIS and a java server side by side. Ideally what I'd love to do is not to be required to do ".com" and ".com:8080" for the two separate servers. What I'd really love is for something like dotnet.mysite.com to direct/route to an IIS server and java.mysite.com to direct/route to wildfly.

Does such a solution exist? or will multiple port numbers be required?

I have used Application Request Routing to configure IIS to connect to tomcat on port 8080 on the server machine. Then IIS will act as a reverse proxy and will forward appropriately configured paths to the wildfly instance. And yes, you can set-up routes based on the host header.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM