网址从https重定向到http [英] Url redirecting from https to http

查看:105
本文介绍了网址从https重定向到http的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家,

我想将网址从https重定向到http。我正在使用http://www.text.com(测试网址)。已经有人利用这个网址并配置了他们的服务器。他们停止了他们的工作网址并批准了我的服务器。但它仍然重定向到https://www.text.com并显示错误页面以及HTTP错误404.找不到请求的资源。信息。我能做什么。请帮帮我。

提前致谢



我尝试了什么:



Hi Experts,
I want to redirect the url from https to http. i am using http://www.text.com (test url). Already some one used this url and configured with their server. They stopped work url in their and gave approval with my server. But still it redirects to https://www.text.com and displaying error page along with "HTTP Error 404. The requested resource is not found." message. what can i do. please help me.
Thanks in advance

What I have tried:

<pre><rewrite>
      <rewriteMaps>
        <rewriteMap name="StaticRewrites" defaultValue="">
          <add key="https://www.text.com/" value="http://www.text.com/" />
        </rewriteMap>
      </rewriteMaps>
      <rules>
        <rule name="Rewrite Rule">
          <match url=".*" />
          <conditions>
            <add input="{StaticRewrites:{REQUEST_URI}}" pattern="(.+)" />
          </conditions>
          <action type="Rewrite" url="{C:1}" />
        </rule>
      </rules>
    </rewrite>

推荐答案

我没有获得该域名的404。它由域名停放服务管理。



所以你没有域名,你的IIS永远不会得到它的请求。您需要拥有域并更新DNS以使其指向您的服务器(或要求所有者更新DNS)。
I did not get a 404 for that domain. It is managed by a domain parking service.

So you did not own the domain and your IIS will never get the requests for it. You need to own the domain and update the DNS to let it point to your server (or ask the owner to update the DNS).


这篇关于网址从https重定向到http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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