【发布时间】:2016-12-10 13:15:14
【问题描述】:
我有一个带有静态 IP 的独立 Linux Centos 服务器。我正在运行两个 tomcat 应用程序http://IP:8080/sampleapp、http://IP:8090/myapp。我可以从互联网访问这两个应用程序。 我从 ipage.com 购买了域名。现在我想将http://sampleapp.com 映射到http://IP:8080/sampleapp 和http://myapp.com 到http://IP:8090/myapp。
我不想添加另一个 apache 层来转发端口。
我怎样才能映射..?请帮帮我
【问题讨论】:
-
可以在Tomcats前面加上nginx。
标签: linux tomcat dns domain-name