Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting the default application in IIS 7?

Tags:

iis-7

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...

like image 869
Matt Avatar asked Aug 04 '11 22:08

Matt


People also ask

How do I change the default application pool in IIS 7?

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.

What is the name of default application pool in IIS?

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.


2 Answers

You could just put an index.html file in there with a meta redirect in it.

like image 99
Antony Scott Avatar answered Oct 11 '22 05:10

Antony Scott


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).

like image 25
Tom Hamming Avatar answered Oct 11 '22 07:10

Tom Hamming