Skip to main content
Version: 1.0

Guide

Tutorial

Domain binding

If you want to deploy more than one site on IIS,this step is necessary

  1. Remote to Windows Server, open your IIS

  2. IIS->Sites->Default Website(right click)->Edit Binding, select one host which is null,then Edit it

  3. Fill in your domain name in Host Name,then click 【OK】 button

  4. Add more domain name to this site, please select the 【Add】 button on the step 1

Change root directory

It is very easy for changing root directory on IIS:

  1. IIS->Default Web Site(right click)->Manage Web Site->Advanced Settings

  2. Modify a new the Physical path

  3. Restart the IIS,then it’s OK

Set rewrite

  1. Make sure you have install URL rewrite components at IIS

  2. Enter to site settings and edit rewrite rules

  3. Restart IIS

Set SSL/HTTPS on IIS

Solution one: Upload your certs

  1. Upload your certs to Server

  2. Import your certs at IIS 1523428081837 1523428307113

  3. Waiting for importing successfully
    1523428321945

  4. Open your site setting and set the certs for it
    1523428488886

    f1523428617943

  5. Test your HTTPS access

Solution two: Auto create certs

You can use the free SSL/TLS Certificate Let's Encrypt, Let's Encrypt is a free, automated, and open Certificate Authority.

Configure
  1. Download win-acme to Server, and unzip to directory: C:\Program Files

    1523429808764

  2. Run the letsencrypt.exe

    1523429865345

  3. Start to configure certs, select N for the first selection

    1523430024664

  4. Complete the next steps

    1523430136570
    1523430270351

  5. Configure completely
    1523430320474

  6. Open IIS to check your HTTPS access
    1523430359697

Renewals

win-acme support renewals, below is the steps:

  1. Run the win-acme, input L* at the first selection
    1523430513122

  2. Select your site which want to renewal 1523430937571

  3. Automatically renewal successfully 1523431002175

Troubleshoot

Parameters

Service

IIS 中点击主机名称或 IIS 根目录,右侧的操作就会显示启动、重启启动,停止等操作