IIS on Nano server


If you have not seen my full post about all the IIS 10 new features, check it out here.

Nano server is like Server Core but smaller, cooler some might say.  You can read about it in detail here.  As with Server Core, Nano Server has no GUI so be prepared to perform all the commands to deploy IIS using command line.  To install IIS 10 on a Nano Server, you could use the following, however there are many options, approaches and methods to accomplish this.

New-NanoServerImage -Edition Standard -DeploymentType Guest -MediaPath f:\ -BasePath .\Base -TargetPath .\Nano1.vhd -ComputerName Nano1 -Package Microsoft-NanoServer-IIS-Package

Then, to install any of the IIS features, you can use DISM accomplish, for example, to install the Application Initialization on Nano, execute the following:

dism /Enable-Feature /online /featurename:IIS-ApplicationInit /all

To disable it, execute this command:

dism /Disable-Feature /online /featurename:IIS-ApplicationInit

Some other IIS installable features for Nano:

IIS-DefaultDocument
IIS-DirectoryBrowsing
IIS-HttpErrors
IIS-StaticContent
IIS-HttpRedirect
IIS-HttpLogging
IIS-CustomLogging
IIS-RequestMonitor
IIS-HttpTracing
IIS-HttpCompressionDynamic
IIS-HttpCompressionStatic
IIS-RequestFiltering
IIS-BasicAuthentication
IIS-ClientCertificateMappingAuthentication
IIS-DigestAuthentication
IIS-IISCertificateMappingAuthentication
IIS-IPSecurity
IIS-URLAuthorization
IIS-WindowsAuthentication
IIS-ApplicationInit
IIS-CGI
IIS-ISAPIExtensions
IIS-ISAPIFilter
IIS-ServerSideIncludes
IIS-WebSockets

Some other points to consider:

  • Targets ASP.NET Core
  • Full .NET Framework will not run
  • Supports Java and PHP as well
Comments (1)

  1. mike J says:

    can you talk about the deployment story for this configuration? Can you use webdeploy or is it xcopy only ??? if you can set up web deploy is there a guide that details that configuration/situation?

Skip to main content