How to forward mydomain.com to mydomain.net web site

痴心易碎 提交于 2019-12-11 15:25:01

问题


"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,

please how can I do that ?

Thanks in advance.


回答1:


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



来源:https://stackoverflow.com/questions/9456721/how-to-forward-mydomain-com-to-mydomain-net-web-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!