Brendan McKenzie

Umbraco server configuration

Friday, 21 May 2021

In my ambition to avoid GUIs and do everything on the command line, I recently spun up some infrastructure to host an Umbraco website.

I wanted to see how I could go working with Windows Server 2019 Datacentre Core which is GUI-free except for a terminal.

Normally installing IIS and other prerequisites for Umbraco would be a few clicks through Server Manager to enable features.

Turns out it's much easier in Powershell.

1Install-WindowsFeature Web-Server,NET-Framework-45-ASPNET,Web-Asp-Net45,Web-Net-Ext45

With that you have IIS and ASP.NET installed and ready to go.


URLRewrite2 is probably going to be asked for, so -

1Invoke-WebRequest -Uri "" -OutFile "C:\temp\rewrite_amd64_en-US.msi"
3. C:\temp\rewrite_amd64_en-US.msi

The URL specified comes from here.