Click here to Skip to main content
13,862,216 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi Experts,
I want to redirect the url from https to http. i am using (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 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:

        <rewriteMap name="StaticRewrites" defaultValue="">
          <add key="" value="" />
        <rule name="Rewrite Rule">
          <match url=".*" />
            <add input="{StaticRewrites:{REQUEST_URI}}" pattern="(.+)" />
          <action type="Rewrite" url="{C:1}" />
Updated 16-Aug-17 23:56pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190214.1 | Last Updated 17 Aug 2017
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100