Question

How can I setup the URL "https://MyServer" to forward to "https://MyServer/ADG.Map.Web"?

 

Answer

  1. On the AccessData MAP server, navigate to "C:\inetpub\wwwroot\"
  2. Make a copy of "web.config" and name it "web.config.old"
  3. Open "web.config" in a text editor
  4. 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.