亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Can one Alibaba Cloud server deploy two Javaweb projects? The domain names of the two projects are different
我想大聲告訴你
我想大聲告訴你 2017-05-17 09:58:32
0
5
1145

There is only one Alibaba Cloud server
There are two projects
Two domain names

我想大聲告訴你
我想大聲告訴你

reply all(5)
為情所困

Yes, as long as its server allows you to bind multiple domain names.
Using Apache/nginx for forwarding, you can deploy countless domain names.
I will only forward nginx.

黃舟

1. Multiple projects can be deployed. The same nginx mentioned above is forwarded to tomcat with different local ports. 2. Domain name. It seems that an Alibaba Cloud server can only register one primary domain name. For other domain names, you can use subdomain names

劉奇

Yes. Refer to configuring multiple web applications app1.domain.com and app2.domain.com on the same server. Similarly, you can also use completely different domain names

Ty80

Alibaba Cloud's ECS (cloud server) can deploy multiple WEB projects, as long as both domain names point to this IP.

Install the WEB server (Apache, nginx, IIS) on the cloud host and forward it according to the source domain name!

為情所困

Use tomcat的話,可以在server.xml內(nèi)添加Host, like

<Host name="domain" appBase="webapps" unpackWARs="true" autoDeploy="true">
      <Context path="path" docBase="package"/>
</Host>

domain域名,path訪問路徑, package就是項(xiàng)目名(放在webappsbelow).

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template