如何将443端口号分配给具有相同IP地址的不同网站 [英] How Do I Assign The 443 Port Number To Different Web Sites With Same Ip Address

查看:137
本文介绍了如何将443端口号分配给具有相同IP地址的不同网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用网站和管理站点实现了MVC3应用程序。

并为网站和管理站点分配了127.0.0.1 ip地址。在C:\ Windows \ System32 \ drivers \ etc \ host文件

这两个网站都有ssl安全

如何将443端口分配给两者网站iis 7



请帮帮我





提前致谢

I am implemented the MVC3 application with website and adminsite.
and am assigned the 127.0.0.1 ip address to both web site and admin site. in C:\Windows\System32\drivers\etc\host file
Both web sites have ssl security
how can i assign the 443 port to both sites iis 7

please help me


Thanks in advance

推荐答案

只有当两个站点共享同一个域时才能这样做(例如: site1.domain.com site2.domain.com ),并且您拥有该域的通配符证书(例如: * .domain.com )。



如果网站共享同一个域名(例如: site1.domain1.com site2.domain2.com ),然后没有办法将它们配置为使用相同的IP地址和端口。



IIS 7中的SSL主机标头 [ ^ ]

将多个站点绑定在同一IP地址和SSL中的端口 [ ^ ]
You can only do that if both sites share the same domain (eg: site1.domain.com and site2.domain.com), and you have a wildcard certificate for the domain (eg: *.domain.com).

If the sites don't share the same domain (eg: site1.domain1.com and site2.domain2.com), then there is no way to configure them to use the same IP address and port.

SSL Host Headers in IIS 7[^]
Bind multiple sites on same IP address and Port in SSL[^]


将127.0.0.1 ip地址分配给一个网站,将192.168.1.25 IP地址分配给另一个管理网站,并使用相同的ssl证书添加到iis 7中。现在我需要的是我想在调试模式下运行应用程序。

网站获取调试点但管理员网站没有得到调试点。

请告诉我解决方案 。如何让管理站点也处于调试模式。
Am assigned the 127.0.0.1 ip address to one website and 192.168.1.25 IP address assigned to another admin web site and added in to iis 7 with same ssl certificate. Now what i need is i want to run the applications in debugging mode.
The web site getting the debugging point but admin site not getting the debugging point.
please tell me the solution . how to get the admin site also in debugging mode.


这篇关于如何将443端口号分配给具有相同IP地址的不同网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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