Multiple websites on same IP with different ports withIIS [closed]

筅森魡賤 提交于 2019-12-06 03:38:42

问题


I had some test sites setup on a server that had one IP and utilized different ports for the site like this.

www.acme.com:5000 www.acme.com:6000

This worked great until a SSL certificate was installed on the server. Now the sites above are not coming up.

How do I configure them so that they come up again?


回答1:


SSL can only segmented by IP and Port. You can however can run SSL over a different port than 443 by simply adding a binding for https and a different port.

In IIS 7.x, in the Bindings for the site, you would add one for SSL and change the port:

What would also need to happen, which isn't shown in this image is the selection of the appropriate SSL certificate which would need to be configured on the server. With that set, you would then access the site by going to:

https://mysite:1234/...



来源:https://stackoverflow.com/questions/5734150/multiple-websites-on-same-ip-with-different-ports-withiis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!