Setup for IIS Server and Access Logging
IIS Web Server Setup
- Open Server Manager from Start menu.
![](\img\iis\iis_1.png)
- Select "Add roles and features" on Server Manager Dashboard.
![](\img\iis\iis_2.png)
- A wizard will open, click on next.
![](\img\iis\iis_3.png)
- Click on next.
![](\img\iis\iis_4.png)
- Again, click on next.
![](\img\iis\iis_5.png)
- Select "Web Server(IIS)" in Server Roles.
![](\img\iis\iis_6.png)
- Click on "Add Features"
![](\img\iis\iis_7.png)
- Click on next.
![](\img\iis\iis_8.png)
- Click on next.
![](\img\iis\iis_9.png)
- In Role Services, select all features under "Common HTTP features", "Health and Diagnostics" and "Performance".
![](\img\iis\iis_10.png)
- Install.
![](\img\iis\iis_11.png)
- Wait for installation to complete.
![](\img\iis\iis_12.png)
- After Installation, close the wizard.
![](\img\iis\iis_13.png)
- Navigate to Server Manager Dashboard, IIS Web Server is installed and can be seen in the left pane.
![](\img\iis\iis_14.png)
Starting Performance Counters
- Click on IIS. Your server will be listed under "SERVERS".
![](\img\iis\iis_15.png)
- Right click on your server, and select "Start Performance Counters".
![](\img\iis\iis_16.png)
IIS Access Logging Setup
- Right click on your server, and select "Internet Information Services(IIS)".
![](\img\iis\iis_17.png)
- Navigate to your web site in left pane, and select it.
![](\img\iis\iis_18.png)
- Double click on "Logging" Option.
![](\img\iis\iis_19.png)
- Click on "Select Fields…".
![](\img\iis\iis_20.png)
- Select all fields.
![](\img\iis\iis_21.png)
- After selecting all fields, click on "Ok".
![](\img\iis\iis_22.png)
- Click on "Apply" in the right pane under "Actions".
![](\img\iis\iis_23.png)
IIS Web server setup is complete with access logging.