How do you the default application in IIS 7? I have the default web site node with several applications underneath it. Each application has its default document loaded and if I point my browser to
http://server/appName
It works fine, it resolves to that apps default document set in the IIS settings.
How can I set it so that if I go to
http://server
It will automatically go to http://server/appName
A caveat is that the default web site's root is c:\inetpub\wwwroot where as my applications are located in c:\websites\app1,app2,etc...
In the Connections pane, expand the server name, and then click Application Pools. In the Actions pane, click Set Application Pool Defaults... On the Application Pool Defaults dialog box, specify your desired options. When you have finished specifying your settings, click OK.
Creating Application Pools This is IIS's isolation functionality and is where you can recycle, change process identity security, and view health and diagnostics information. By default, IIS 7.0 provides you with a single application pool called DefaultAppPool.
You could just put an index.html
file in there with a meta redirect in it.
I asked the same question on Server Fault, and figured out that you can change the physical path of the default web site (see my answer).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With