Internet Information Service IIS Configuration (IIS)
1/ Create a folder called api on C:inetpubwwwroot
2/ Open Internet Information Services (IIS) Manager
3/ Navigate to Sites and delete Default Web Site
4/ Right click and create a new Site called Site
5/ Set Application pool: DefaultAppPool
6/ Set Physical path: C:inetpubwwwroot and click OK
7/ Right click on Site and select Add Virtual Directory
8/ Set Alias: wz
9/ Set Physical Path: C:WarZinuild and click OK
10/ Right click on api and select Convert to Application
11/ Click on the main tab and select Server Certificates
12/ From the right side menu select Create Self-Signed Certificate
13/ Enter api as the name and click OK
14/ Right click on Site and select Edit Bindings
15/ Click Add
16/ Set Type: https
17/ Set SSL certificate: api and click OK
18/ Click on Site and select MIME Types
19/ From right side menu select Add
20/ Set File name extension: .php
21/ Set MIME Type: application/x-php and click OK
22/ From the right side menu select Application Pools
23/ Select DefaultAppPool
24/ Select .NET Framework v2.0 with Integrated
25/ Click on Site and from the right side menu click on Restart