简体   繁体   English

在单个VPS上运行IIS和jboss / glassfish / wildfly

[英]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. 我想知道是否有人知道可以并行运行IIS和Java服务器的任何解决方案。 Ideally what I'd love to do is not to be required to do ".com" and ".com:8080" for the two separate servers. 理想情况下,我不希望对两个单独的服务器执行“ .com”和“ .com:8080”。 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. 我真正喜欢的是将dotnet.mysite.com定向/路由到IIS服务器,将java.mysite.com定向/路由到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. 我已使用应用程序请求路由将IIS配置为连接到服务器计算机上端口8080上的tomcat。 Then IIS will act as a reverse proxy and will forward appropriately configured paths to the wildfly instance. 然后,IIS将充当反向代理 ,并将正确配置的路径转发到wildfly实例。 And yes, you can set-up routes based on the host header. 是的,您可以基于主机头设置路由。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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