Configuring websites with an SSL port and certificate
In this recipe, we are going to open IIS Manager on WIN2016IIS. We will also configure the SSL certificate on mysite.com
.
Getting ready
To step through this recipe, you will need a running IIS 10.0 server and an administrator account, which will be used to make changes in IIS 10.0.
How to do it...
- Go to WIN2016IIS and log in to the IIS 10.0 server. Open the server manager and go to the
Tools
menu. - Open IIS Manager and expand
WIN2016IIS
; you will get theApplication Pools
andSites
. Click onSites
, as shown here:

- Go to the
Actions
pane and click onAdd Website.
You will get theAdd Website
window:

- Here we'll enter the site name
mysite.com
and select thePhysical path
. In the binding information, we've selectedhttps
(SSL will not run on thehttp
port; it must behttps
). Type the IP address of the website, and enter the HTTPS default port,443
. Select themysite.com
certificate, which we created earlier. Click onOK
.
- Now you can see that the website...