I used to appcmd.exe set config "WebTier" -section:system.webServer/serverRuntime /alternateHostName:"development-server-iis.local" /commit:apphost To hide the real internal ip.
But I have the situation in which this solution may not work.
For example, when the IP address is found in the middle of the URL
For adfs service urls:
For Example:
https://host.domain.com/adfs/ls/?wa=wsignin1.0&wtrealm=https xxxxxxx192.168.1.1%xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=https://host.domain.com/
Please tell me what to do. I have compliance in the process and need to fix it
↧
Appcmd alternateHostName problem
↧