Testing security on IIS 10.0
In this recipe, we will log in to Windows Server 2016 WIN2016IIS and check the IP address access and deny rules we've set. We will access the website https://172.16.15.60
(mysite.com
) from the 172.16.15.60
server and access the website https://172.16.15.60
(mysite.com
) from the 172.16.15.65
server.
Getting ready
We require an up-and-running IIS 10.0 instance. Security components should be installed. You should have administrative privileges.
How to do it...
- Log in to Windows Server 2016 with an account with administrative privileges.
- Open Server Manager from the Start menu or use the search window to find it.
- Click on the
Tools
menu from Server Manager; you will find IIS Manager. Open it and click on theWIN2016IIS
IIS server. Expand theSites
folder and click onmysite.com
. Go to theFeatures View
ofmysite.com
, selectIP Address and Domain Restrictions
, and open theIP Address and Domain Restrictions
settings, as shown here:

- You can see in the figure that we have...