IIS 8.0: Windows Server 2012, Windows 8.0
Configure the server to host Sitefinity CMS projects
- Download the Windows Server 2012 PowerShell script and save it on your server.
- In the context menu of the downloaded file, click Run with PowerShell.
- Restart the server.
NOTE: When running the PowerShell script, your system may become slower. Keep in mind that the script modifies Windows features that can affect other parts of the system.
You can also perform the configuration manually.
For more information, see Manually configure the server to host Sitefinity CMS projects.
Install Sitefinity CMS on the server and create the project
- Download Sitefinity CMS Project Manager on the server.
For more information, see Install Sitefinity CMS.
- Create the project, using procedure Create a project.
In Step 3, select FileSystem.
- Configure the project using procedure Configure and start a project.
- Close Sitefinity CMS Project Manager.
Sitefinity CMS automatically create a folder with the name of the project.
- Copy the entire project’s folder and place it inside
If you do not see folder
inetpub, IIS is not installed on your server and you must install it.
NOTE: It is not required to execute the project manager on the server. You can download and run the project manager on a local workstation and then transfer the project files to the web server using FTP or file share.
Run the project on the IIS
- Open Internet Information Services (IIS) Manager.
- In the left pane, expand your server’s node and in the context menu of Sites node, select Add Web Site…
Add Web Site window appears.
- In Site name, enter a name for the website.
- If you have a dedicated application pool for this website, click Select… button and select it from the Application pool dropdown box. Otherwise, for each website, you are adding, IIS creates a corresponding Application pool.
- In Physical path, click … button and browse to select inetpub\wwwroot\<your project name> folder, where you have chosen to locate your project files.
- In Binding section, if you have a dedicated IP address for the website, select it. If you have multiple websites sharing the same IP address, enter the host name of your website.
- Click OK.
The Add Web Site window closes.
- In the left pane, click Application Pools node.
- Select the application pool of your website and in the right pane, click Basic Settings…
- In .NET Framework version dropdown box, select .NET Framework v4.0.30319.
If there is no such entry, you must install .NET 4.7.2 (for Windows Server 2012, Windows Server 2012 R2, Windows 8.0 and above).
- In Managed pipeline mode dropdown, select Integrated.
- Click OK.
- Since Sitefinity CMS configurations are stored in the App_Data folder, the Application pool must have write permissions to this location. To grant such permissions, perform the following:
- Open folder inetpub\wwwroot\<your project name>.
- Open the context menu of App_Data folder and click Properties.
- On tab Security, click Edit… » Add…
- In From this location, select your server.
- Enter the object name using the following naming convention:
IIS APPPOOL\<Application pool name>.
- Click OK.
- Grant permission to modify the App_Data folder, by selecting Allow checkbox of Modify permission.
- Click OK » OK.
RESULT: Open the IIS, select the uploaded site, and in the left pane, click Browse. The website runs in the browser, hosted on the IIS.