User-388594962 posted
We have our Accounting/CRM platform that we need to redirect from the root website to a subfolder.
http://company.domain.com redirects to https://company.domain.com/subfolder1
Our problem we just found in testing using the built-in redirect option in IIS 10 is there is a desktop app and when we click the link to access it from
https://company.domain.com/subfolder1 we are getting a 404 error. Upon further examination we determined that the redirect is causing it to go to https://company.domain.com/subfolder1/subfolder2/application.file
correct address should be https://company.domain.com/subfolder2/application.file
Application support told me to use URL rewrite. So i have installed the IIS URL rewrite onto the web server. I followed this guide to setup the redirect from http to https which is working.
https://www.namecheap.com/support/knowledgebase/article.aspx/9953/38/iis-redirect-http-to-https/
What I am stuck on is redirecting from the root website to
http://company.domain.com to
https://company.domain.com/subfolder1
Anyhelp would be appreciated.