同一IP上的多个网站,具有不同的端口withIIS [英] Multiple websites on same IP with different ports withIIS

查看:187
本文介绍了同一IP上的多个网站,具有不同的端口withIIS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一台服务器上设置了一些测试站点,这台服务器有一个IP,并且为这个站点使用了不同的端口。

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

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

在服务器上安装SSL证书之前,这种方法很有用。现在上面的网站没有出现。

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?

推荐答案

SSL只能通过IP和端口进行分段。但是,您可以通过简单地为https和其他端口添加绑定,在不同于443的端口上运行SSL。

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.

在IIS 7.x中,在Bindings中为网站,你会为SSL添加一个并更改端口:

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

此图像中未显示的还需要选择适当的SSL证书,这需要在服务器上配置。使用该集合,您将访问该网站:

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 / ...

这篇关于同一IP上的多个网站,具有不同的端口withIIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆