In IIS I can convert a folder in a website into an application… but how to do you make the root website an application?
Right now if I have an application (let's call it foo), the only way I know to get it running in IIS is to create a website (we'll call it bar.com) and then add the application under the website so that I have to access it by navigating to http://bar.com/foo. How can I set it up to navigate to the app when simply navigating to bar.com?
Best Answer
The root website is already an application. So basically when you have a website, this website is mapped to a physical location on the hard disk which is where you should deploy your code. Then if the website has a binding with
bar.com:80
, your application will be directly accessible onhttp://bar.com
.