Deploying websites
In this recipe, we will deploy three websites, namely, mysite.com, v2mysite.com, and v4mysite.com. In our case, we already have these sites ready for deployment, but in your case, you have to create your own, or you can use any available older version to upload under the appropriate site folder, which we've learned in our previous examples.
Getting ready
To step through this recipe, you will need a running IIS 10 instance, and websites mysite.com, v2mysite.com, and v4mysite.com configured. You need three sets of website application files as per our demonstration or HTML pages with an administrator user account.
How to do it...
- Open Server Manager on Windows Server 2016. Click on the
Tools menu and open IIS Manager.
- Expand the IIS server (
WIN2016IIS
). We get the listedApplication pools
andSites
; inside theSites
folder, we have three websites created, namely,mysite.com
,v2mysite.com
andv4mysite.com
. - Select
mysite.com
, go to theActions
panel, click onBasic Settings
, and...