Creating an IIS 10.0 website on Nano Server
In this recipe, we'll use PowerShell commands to connect to our Nano Server instance. We will import the IIS administration module and create a website. Finally, we will check the website's status.
Getting ready
To step through this recipe, we are going to create a website in IIS 10.0 on Nano Server 2016 through PowerShell. IIS 10.0 on Nano Server can only be managed using PowerShell. You will need Nano Server 2016 with the IIS package installed. For all this installation and configuration work, you should have administrative privileges.
How to do it...
- Go to the
WIN2016IIS
server to connect to Nano Server 2016 through PowerShell. We have to first log in to theWIN2016IIS
server or (a Windows Server 2016 or Windows 10 machine will do). We will use PowerShell to remotely connect to Nano Server172.16.15.63
. This is the IP in my case, but it can be different in yours. - Open PowerShell with administrative rights on the
WIN2016IIS
server. Press Windows ...