搜索网站的问题

编程入门 行业动态 更新时间:2024-10-25 18:23:31
本文介绍了搜索网站的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 在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."

更多推荐

搜索网站的问题

本文发布于:2023-11-28 19:30:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643673.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:搜索网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!