可以看出,同一个IP,同一个IIS中,给不同的网站设置不同的主机头(Host Header Value)就可以匹配不同的域名。另外在DNS上做一个泛解析,或者将二级域名一起指向你的IP就可以了。
基于6个网页-相关网页
The key used when caching resources, USES the Host header value rather than the request URI.
快取资源时使用的索引键会使用主机标头值,而非要求uri。
If the application specifies a Host header, then this value will be used as domain.
如果应用程序指定主机标头,则会以其值作为网域。
When an application provides credentials for a specific URI prefix, the applications needs to make sure to use the URI containing the value of the Host header, not the target server in the URI.
当应用程序向特定的URI前缀提供凭据时,该应用程序需要确定使用包含主机标头值的URI,而不是URI中的目标服务器。
应用推荐