如何将mydomain.com转发到mydomain.net网站 [英] How to forward mydomain.com to mydomain.net web site

查看:214
本文介绍了如何将mydomain.com转发到mydomain.net网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

"mydomain .com "托管在IIS 7.5上,并在Google上引用,
对于同一网站,我需要使用第二个域名:"mydomain .net ".
我想将输入"mydomain.com"的用户重定向到"mydomain.net",而不会丢失以前的Google引用,

"mydomain.com" is hosted on iis 7.5 and referenced at google,
For the same website, I need to use a second domain name: "mydomain.net" .
I would like to redirect people who type "mydomain.com" to "mydomain.net" without losing previous google referencing,

请问我该怎么做?

谢谢.

推荐答案

在IIS中,有必要复制mydomain.net网站文件夹,并将复制的网站链接到mydomain.com,然后选择mydomain.com和单击HTTP重定向(应从IIS功能中启用),然后选中将请求重定向到此目标,并选中"将所有请求重定向到准确的目标...",其行为状态代码为:永久301重定向".

Within IIS it is necessary to duplicate the mydomain.net web site folder, and to link the duplicated web site to mydomain.com, then select mydomain.com and click on HTTP redirect (which should be enabled from IIS features) then "redirect requests to this destination checked, and make also "Redirect all requests to exact destination..." checked, with behavior status code:"Permanent 301 redirect".

您可以在此处找到进一步的解释:

You can find a further explanation here:

http://www.windowshostingasp.net/windows_hosting_forums/showthread.php? t = 35

这篇关于如何将mydomain.com转发到mydomain.net网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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