how do i force iis to use a specific value for the http host header during a rewrite?

try to set the preserveHostHeader to true by following the below steps:

1)open IIS manager, select the server node.

2)double clic configuration manager.

3)from the section drop down select system.webServer/proxy

4)set preserveHostHeader to true

enter image description here

Note: if you are trying to change the request header it is not possible by using iis URL rewrite rule.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top