Forum Discussion
IIS 10 URL redirect problems
Hello everyone,
One of previous admins started using internal IIS WEB server with IP address instead of FQDN or DNS name, when I've migrated the server to a new location with different subnet and with use of internal DNS it appears what links to the old system with IP address was inserted into bunch of documents and other systems.
I've stood up a new server in the old subnet with old IP with IIS 10 and URL redirect option, and now some links redirecting to the new system just fine and other links containing question mark landing to the error page of the new server. If I manually replace IP part with new DNS name it works fine.
Link example https://10.10.10.104/docs/~S?DocumentId=1010&Login=True
But in the IIS log I can see "GET /docs/~S DocumentId=1010&Login=True" with space instead of question mark, probably this is the reason but I am not sure how to fix this.
Any help would be appreciated.
Thank you!