Elvin
Setting the reverseRewriteHostInResponseHeader should've fixed the problem.
Note that there are two different locations for this attribute; there is one on what we call "server level" and the other on the "server farm" level.
If you are creating a server farm to redirect, then you will need to set the attribute at the server farm level. Likely, if you are using ARR as a reverse proxyw without a server farm, then you will need to set this attribute at the server level.