Search code examples
iisarr

Using IIS ARR to rewrite external URL


This might be a stupid question, however we have a website which we'll call http://example.com and we're using YuDu to publish some of our brochures online.

The URL's YuDu have given us are in the format http://content.yudu.com/htmlReader/SomeString/SomeName/SomeFile.html however we want to use our own URL's for these files:

i.e. http://example.com/ebrochure/SomeBrochure

I can setup URL rewriting for this, but it obviously redirects to the YuDu domain. Looking online it appears that I 'may' be able to use the IIS Application Request Routing module for this...but I'm at a loss as to how to do this. Everything I've found so far uses localhost and/or domains you already own for this.

So my question is:

  1. Is my request even possible?
  2. If so...could anyone point me in the right direction to do it?

Thanks in advance.

Matt


Solution

  • I don't think it's possible to do that. As far as the content must be served by yudu.com, you can only use redirections (with URL rewriting or by configuring a redirect in Application Request Routing). It will anyway end with a redirect. You could only manage this if yudu.com was one of your domains, which doesn't seem to be.

    The only way I see if you really want to serve this content behind your example.com URL is using an iframe. But I don't know if Yudu will allow this.

    Good luck !