Configuring IIS for Sitefinity CMS
Open IIS Manager and expand the tree view navigation in the left pane. Click on application pools and then click ‘Add Application Pool’ in the actions panel on the right of the window.
Provide a name for the application pool, something simple, select ‘.NET CLR Version v4.0.30319’ for the .NET CLR Version and ‘Integrated’ for the ‘Managed pipeline mode’. Click ok when you’re done.
Next, highlight the newly created application pool and click ‘Advanced Settings’ in the actions panel on the right of the screen.
In advanced settings set the ‘Enable 32-Bit Applications’ option to true and make sure ‘Identity’ under the ‘Process Model’ is set to ‘ApplicationPoolIdentity’.
In the left hand tree view, right click websites and click ‘Add website’.
In the ‘Add Website’ dialog specify the following:
- Site name: This can be any name as long as it is something that resembles the project you’re busy with. I normally use some variation of the Domain Name that is associated with the site. So for example for our site www.nedoweb.com I would name the site ‘NedowebCom’.
- Application Pool: Click select next to Application Pool and then select the application we created a few steps earlier, in this case SitefinityAppPool.
- Content Directory > Physical Path: Click the ellipsis next to the input field and choose the directory where you created the project files in part 1 of this blog series.
- IP address: You can either leave this as the default ‘All Unassigned’ or choose a specific IP address allocated to your server.
- Port: Keep this to the default 80.
- Host name: Enter your domain name that you will be using for this website.
Once you’re done click OK.
The website should now appear in the Sites content pane in the middle of the screen. Click to select the newly created website and then click ‘Edit Permissions’ in the Actions pane on the right side of the screen.
In the properties dialog that appears click the edit button as indicated below.
In the ‘Select Users or Groups’ dialog select the proper location, which should normally be the name of the server you’re on. In the ‘Enter the object names to select’ enter the name of the application pool you created earlier in the following format: IIS AppPool\ApplicationPoolName the name of the application pool in our case is SitefinityAppPool. Click OK when you’re done.
Back in the permissions dialog you should now see your application pool name added to the list of users. Select the application pool name in the list and make sure only the following permissions are set to Allow:
- Read & execute
- List folder contents
There is one additional bit of security that needs to be configured on the folder structure. To do this make sure the new website is still selected int he content pane then click ‘Explore’ in the Actions panel on the right of the screen.
Locate the App_Data folder, right click it and select Properties. In the Properties dialog that appears select the Security tab and click Edit. Highlight the App Pool user that you added in the previous step and in the Permissions section click Full Control.
The Sitefinity CMS website is now ready to start up for the first time.
In Part 3 I’ll describe the final steps to setup Sitefinity CMS 9.2 on Microsoft SQL Server 2016 and IIS 10.