Depending on your Windows Server version, refer to:
In this section
Step 3.1: Configuring IIS 7 Web Server on Windows Server 2008
Step 3.2: Configuring IIS 8 Web Server on Windows Server 2012
Step 3.3: Configuring IIS 10 Web Server on Windows Server 2016