I'd like to setup ARR to cache access to a live stream on azure media services so multiple users on site watching the same stream will only require one copy to be fetched from the internet.
Unfortunately, I seem to be overlooking some step in the configuration.
* Blank Server 2012R2, Installed ARR via web pi.
* Server Name media.domain.local
* Sample URl for a stream: http://mediaservicename.origin.mediaservices.windows.net/67DB4EA0-B6C3-41D1-AFC7-19846819BC4A/10B287D7-2C5B-45A7-A2E1-579AFA977873.ism/manifest
* the azure media service requires a host header to be set.
* Created a server farm named "media", added server "mediaservicename.origin.mediaservices.windows.net", allowed creation of default rewriting Rule.
Now, for on-site clients, I'd like to access the stream using the URL "http://media.domain.local/67DB4EA0-B6C3-41D1-AFC7-19846819BC4A/10B287D7-2C5B-45A7-A2E1-579AFA977873.ism/manifest".
This, unfortunately doesn't work, clients get back an Error 503: Service unavailable,
Looking at the outgoing web request, I can see that the request going out to azure media services has a host header "media.domain.local"; obviously azure doesn't recogince that and returns an error.
Now the question: is there a way to get ARR or URL rewriting to send out the request with a host header matching the configured server in the farm instead of the original host header sent by the client?
Thanks for your help!