Try our conversational search powered by Generative AI!

Reverse Proxy - Route traffic to external site links



I'm looking for a solution to add a reverse proxy in place to route traffic to external links and use the domain URL as it's. 

This is feasible as mentioned in the following links and
I've made the changes as said in these links, but it doesn't seems to be working. My changes are below

added applicationHost.xdt file in site folder as below
        <?xml version="1.0"?>
        <configuration xmlns:xdt="">
       <proxy xdt:Transform="InsertIfMissing" enabled="true" preserveHostHeader="false" reverseRewriteHostInResponseHeaders="false" />

     2. added rewrite rule in config file 

        <rule name="Proxy" stopProcessing="true">
       <match url="^/xyz?(/)?$" />
       <action type="Rewrite" url="" />

the above still returns 404 error for, i tried adding route ignore as said in the first link but still no luck. i.e., routes.IgnoreRoute("xyz/"); in global.asax.cs file. 

I'm not sure if i'm missing anything. this is very urgent requirement to deliver asap. 

Any help is much appreciated.



Sep 12, 2019 17:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.