Setup IIS for Episerver CMS

I do a lot of training and a constant issue that I run into today is that developers do not have IIS setup or some IIS feature is missing. The old Deployment Center had some benefits checking pre-requisites and ensuring that IIS and your MS SQL server was setup.

How to do a Quick Setup of IIS for Episerver

Updated with IIS-WebSockets as mentioned in comments below.

Start a Command Prompt as Administrator and run the following command:

DISM /Online /Enable-Feature /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASPNET /FeatureName:IIS-ASPNET45 /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-DefaultDocument /FeatureName:IIS-HealthAndDiagnostics /FeatureName:IIS-HttpCompressionStatic /FeatureName:IIS-HttpErrors /FeatureName:IIS-HttpLogging /FeatureName:IIS-HttpRedirect /FeatureName:IIS-HttpTracing /FeatureName:IIS-ISAPIExtensions /FeatureName:IIS-ISAPIFilter /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools /FeatureName:IIS-NetFxExtensibility45 /FeatureName:IIS-Performance /FeatureName:IIS-RequestFiltering /FeatureName:IIS-RequestMonitor /FeatureName:IIS-Security /FeatureName:IIS-StaticContent /FeatureName:IIS-URLAuthorization /FeatureName:IIS-WebServer /FeatureName:IIS-WebServerManagementTools /FeatureName:IIS-WebServerRole /FeatureName:WAS-ConfigurationAPI /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ProcessModel /FeatureName:WAS-WindowsActivationService /FeatureName:IIS-WebSockets /FeatureName:IIS-BasicAuthentication /FeatureName:IIS-WindowsAuthentication /all

Now all components needed to use IIS instead of IIS Express to host your Episerver solution should be in place.

You can use the DSIM command on Windows 8, Windows 10 and Windows Server 2012 and later.