Question
How can I setup the URL "https://MyServer" to forward to "https://MyServer/ADG.Map.Web"?
Answer
- On the AccessData MAP server, navigate to "C:\inetpub\wwwroot\"
- Make a copy of "web.config" and name it "web.config.old"
- Open "web.config" in a text editor
- Replace the file's contents with the following, then save the file:
Notes
Creating the HTTP redirect this way prevents the IIS UI from automatically propagating the redirect to all the child sites, which can lead to a recursive loop. However, if a recursive loop occurs, you will need to remove any HTTP Redirects in IIS from all child sites, so that only the Default Web Site has a redirect.