Configuring IIS 10.0 websites on Nano Server
In this recipe, we will use PowerShell commands to recycle the v5mysite.com
application pool. We will check the default Document Settings
and listed page name and add the new filename to the default document, v5mysite.htm
. We will make the changes in the physical path of the v5mysite.com
website.
Getting ready
In this recipe, we are going to remote connect Nano Server through PowerShell and configure our website through the IISAdministrator
module. You will require a Windows Server 2016 virtual or physical server for remote PowerShell management for Nano Server 2016. For all this installation and configuration work, you should have administrative privileges.
How to do it...
- Log in to Windows Server 2016 with the
172.16.15.60
and nameWIN2016IIS
. Press Windows + R on your keyboard, and you will get theRun
window. Open PowerShell ISE with administrative rights, and type in the commandRunAs /user:Administrator PowerShell_ISE.exe
in theRun
window,...