简体   繁体   English

在IIS 6上将子域显示为域

[英]Show subdomain as domain on IIS 6

I want to show subdomain.domain/somfolder as domain/somfolder on clients browser? 我想在客户端浏览器中将subdomain.domain / somfolder显示为domain / somfolder吗? Help please. 请帮助。

Add a host header for domain as well as for sub-domain.domain for your web-site, and make sure domain and subdomain.domain points to the same IP address in your DNS (or have your IIS server responds to both addresses if they are different). 为您的网站添加domain以及sub-domain.domain的主机头,并确保domain和subdomain.domain指向DNS中的相同IP地址(或者让IIS服务器对这两个地址都响应)是不同的)。

Set host headers in IIS6 在IIS6中设置主机头

Set host headers in IIS7 在IIS7中设置主机头

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM