IIS Create Application - jamesperrin/developer-training-resources GitHub Wiki
These are the instructions to create and configuration a new IIS Application.
Table of Contents
- Create Application Pool
- Create Default Applications Folder
- Create Application Folder
- Create New Application
Create Application Pool
- Click on the Windows Start Menu button.
- Scroll down and click on Windows Administration Tools to expand.
- Scroll down, then click on Internet Information Services (IIS) Manager.
- In the left menu, under Connections, click on the Application Pools.
- In the right menu, under Actions, click on Add Application Pool.
- The Add Application Pool dialogue will be displayed.
- Enter the name of the application. Note appended the words AppPool.
- Example:
ExampleAppPool
- Example:
- Click OK
- Enter the name of the application. Note appended the words AppPool.
- Click on the new Application Pool ExampleAppPool
- In the right menu, under Actions, click on Advanced Settings.
- The Advanced Settings dialogue will be displayed.
- Under General section
- Click next to the Start Mode setting.
- You will be presented with two options OnDemand and AlwaysRunning.
- Use OnDemand for low usage appplications.
- Use AlwaysRunning for high usage applications.
- Scroll down to the Process Model section.
- Click next to the Identity setting.
- Click on the Ellipsis icon [...].
- The Advanced Settings dialogue will be displayed.
- For Default identity.
- Click on the Built-in account DropDownList.
- Select NetworkService.
- For Custom identity
- Click on the radio button next to Custom account.
- Click on the Set button.
- The Advanced Settings dialogue will be displayed.
- Provide the following information.
- User Name:
SERVICE\ACCOUNT\USERANME - Password:
PASSWORD - Confirm Password:
PASSWORD
- User Name:
- Click OK
- Click OK
- For Default identity.
- Scroll down to the Recycling section.
- Click next to the Specific Times setting.
- Click on the Ellipsis icon [...] next to TimeSpan[] Array.
- The TimeSpan Collection Editor dialogue will be displayed.
- Note: The IIS Application Pools recycle by default every 29-hours.
- Click on the Add button.
- Under TimeSpan, enter a value between
23:00:00and03:00:00. - Click OK
- Click OK
- The Add Application Pool dialogue will be displayed.
Create Default Applications Folder
- Navigate to the data drive.
- Create a new folder named
webapps.- The webapps folder will be the default location to create new application folders.
- Right click on the webapps folder.
- From the context menu, click on Properties.
- The webapps Properties dialogue will be displayed.
- Click on the Security tab.
- Click on the Edit button.
- The Permissons for webapps dialogue will be displayed.
- Click on the Add button.
- The Select Users or Groups dialogue will be displayed.
- Click on the Locations button.
- The Locations dialogue will be displayed.
- Under Locations, scroll to the top and select the server's name.
- Click OK.
- Click the Advanced button.
- Click the Find Now button.
- Scroll down and double-click on IIS_IUSERS.
- Click OK.
- Click on the Locations button.
- Click on the Add button.
- The Select Users or Groups dialogue will be displayed.
- Click the Advanced button.
- Click the Find Now button.
- Scroll down and double-click on IUSR.
- Click OK.
- Click on the Add button.
- The Select Users or Groups dialogue will be displayed.
- Click the Advanced button.
- Click the Find Now button.
- Scroll down and double-click on USERS.
- Click OK.
- Click OK.
- Click OK.
Create Application Folder
- Navigate to the data drive.
- Under the default location where applications folders are stored.
- Example:
webapps
- Example:
- Create a new folder store the new application contents.
- Example:
ExampleApp
- Example:
- Right click on the ExampleApp folder.
- From the context menu, click on Properties.
- The ExampleApp Properties dialogue will be displayed.
- Click on the Security tab.
- Click on the Edit button.
- The Permissons for ExampleApp dialogue will be displayed.
- Click on the Add button.
- The Select Users or Groups dialogue will be displayed.
- Click on the Locations button.
- The Locations dialogue will be displayed.
- Under Locations, scroll to the top and select the server's name.
- Click OK.
- In the input field Enter the object names to select (examples).
- Enter the information for the associated applications pool.
- Example:
IIS AppPool\ExampleAppPool
- Click the Check Names button.
- Click OK.
- Click on the Locations button.
- Click OK.
- Click OK.
Create New Application
- Click on the Windows Start Menu button.
- Scroll down and click on Windows Administration Tools to expand.
- Select and Open Internet Information Services (IIS) Manager
- In the left menu, under Connections, click next to the server's name to expand the items.
- In the left menu, under Connections, click next to Sites to expand the items.
- In the left menu, under Connections, right click on Default Web Site.
- From the context menu, click on Add Application.
- The Add Application dialogue will be displayed.
- In the Alias field, type the name of the application.
- Example:
ExampleApp
- Example:
- Application pool.
- Click on the Select button.
- The Select Application Pool dialogue will be displayed.
- Under Application Pool, click on the DropDownList.
- Select the associated application pool.
- Example:
ExampleAppPool
- Example:
- Click OK
- Physical path.
- Click on the Ellipsis icon [...] .
- The Browse For Folder dialogue will be displayed.
- Navigate to the location where application contents are stored.
- Example:
E:\webapps\ExampleApp
- Example:
- Click OK
- Navigate to the location where application contents are stored.
- Click OK
- In the Alias field, type the name of the application.