Configuring a virtual directory in IIS 10.0
In this recipe, we will create an application pool and assign it to our virtual directory, MyApp
. We will create a firewall rule to allow inbound port 8000
for NanoAspNet
.
Getting ready
To step through this recipe, you will need a Windows Server 2016 virtual or physical server for remote PowerShell management and configuring a virtual directory on Nano Server 2016. For all this installation and configuration, you should have administrative privileges.
How to do it...
- Log in to Windows Server 2016. The IP is
172.16.15.60
and the nameWIN2016IIS
. Press Windows + R key. You will get theRun
window. Open PowerShell ISE with administrative rights: typeRunAs /user:Administrator PowerShell_ISE.exe
and pressOK
. - Now, it will ask you the administrator password for your Windows Server 2016 (not Nano Server) machine. Type the password and press Enter. You will get the PowerShell window.
- Now you need to remotely connect to Nano Server 2016 using the IP
172.16.15...