搜索网站的问题 [英] problem in searching website

查看:62
本文介绍了搜索网站的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在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.*****.com and with the corresponding port no.
2. ****.com 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.****.com
but i cant able to view without using www, i mean the ****.com 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.com和host.com的绑定。您还需要确保您的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.com" and "host.com". You also need to make sure your DNS server has both host entries pointing to your websites IP.

我猜你错过了以下几点。



< u>您还需要确保您的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."


这篇关于搜索网站的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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