大家好, 在IIS7中是新的 我在iis上面临一个问题。 i在iis7中托管了我的网站 ,因为我对以下给定格式的网站具有约束力, 1. www。*****。com 以及相应的端口没有。 2. ****。com 以及相应的端口号 但是我的问题是当我浏览我的网站到firfox或任何其他浏览器时 i只能查看www。****。com 但我无法查看使用www,我的意思是****。我在IIS7中绑定了 所以请告诉我这里发生了什么。 感谢提前。
hi all, am new in IIS7 am facing one issue on iis. i have hosted my website in iis7 in that i have binding to that website for the given below format, 1. www.***** and with the corresponding port no. 2. **** and with the corresponding port no. but my problem is when i browse my site into firfox or any other browser i can able to view only for www.**** but i cant able to view without using www, i mean the **** which i was binded in IIS7 so please let me know what was occured in this. thanks to advance.
推荐答案参考 - 在带有和不带www前缀的IIS 7上部署网站 [ ^ ]。 Refer - deploy web site on IIS 7 with and without www prefix[^]. Quote:
创建1个网站并添加2个主机绑定。使用inetmgr,当您点击网站时,绑定应该在右侧。您将添加两个具有相同IP和不同主机名www.host和host的绑定。您还需要确保您的DNS服务器具有指向您的网站IP的两个主机条目。
Create 1 website and add 2 host bindings. Using inetmgr, when you click on the website the bindings should be on the right side. You'd add two bindings with the same IP and different host name "www.host" and "host". You also need to make sure your DNS server has both host entries pointing to your websites IP.
我猜你错过了以下几点。 您还需要确保您的DNS服务器有两个主机条目指向您的网站IP。
I guess you are missing the following point. "You also need to make sure your DNS server has both host entries pointing to your websites IP."
更多推荐
搜索网站的问题
发布评论