Create web virtual host on windows 2012

SSL Certificate

If the website enabled ssl, the SSL certificate is required. Follow Installing an SSL Certificate in Windows Server 2008 (IIS 7.0)

Creating web virtual host

  • Start IIS Manager: Start –> Control panel –> Administrative Tools –> Internet Information Services (IIS) Manager
    IIS manager shortcut
  • Select Sites and right click.
    Add website link
  • Input website infomration
    Add http website
  • If SSL enabled, choose a SSL certificate for the website
    Add https website
  • The website is ready.
    Add http website

Binding mutliple host names

  • Select the virtual host and right click.
    Edit bindings link
  • Click “Edit bindings…” to open Site bindings window
    Site bindings gui
  • Click add button to add a new host name
    Add Site binding gui
Written on May 5, 2017