'Switching from an old site to a new site in different servers - Steps in IIS

We are using IIS. I have an old site that users access through our domain name (www.domain.org). This site is on a server named web1. I have redeveloped a brand new website which is on a new server named web3 and this new site (available in a subfolder) is currently accessible through https://web3/MyNewSite/.

We use GoDaddy and I don't see how to make the switch properly. I know I will have to make the switch for the dns by updating the IPs from web1 to web3. But how can I get rid of the subfolder of web3? Can I point my domain to the subfolder in web3 directly?

I tried several things using rules and rewrite but it is not satisfying. I seems simple but can find proper documentation.

Thank you

iis


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source