Basic configuration of IIS 10.0
In this recipe, we will learn about the basic configuration of IIS 10.0. We are going to review the Inetpub
folder, wwwroot
folder, and logs
folder.
We will also be covering binding options and limits.
Getting ready
We require an up-and-running IIS 10.0 instance. You should have administrative privileges for IIS management.
How to do it...
- When we installed IIS 10.0 on Server 2016, the default installation folder location was
C:\inetpub
. - Log in to Windows Server 2016, go to the
C:\
drive, and find the default IIS folder calledinetpub
. You can see this in the following figure:

- By default, all the website files will be stored in the
wwwroot
folder. The path isC:\inetput\wwwroot
. The following screenshot shows the default IIS 10.0 website files:

- Now, we are going to see the
logs
folder. It is located atC:\inetpub\logs
:

- Start IIS Manager and select the
Default Web Site
. You will get theActions
window on the right-hand side. Inside theActions
list, we have theEdit Site
option.

- Click on the
Basic Setting...
text button. You will get the following window for basic settings:

- We selected the
Default Web Site
; now you can see theSite nam
e
,Application pool
,Physical path
, andConnect as...
authentication option. - In the
Edit Site
window, you can change theApplication pool
and define your website folder path or default type of authentication. Finally, you can test the default settings. - Let's look at some binding options. In the
Actions
list, you will see that there is aBindings...
option. Bindings are used for defining your website parameters:Type
http
,Host Name
www.xyz.com
,Port
80
, andIP Address
*
for example, as shown here:

- Now, set the
Limits
for website access. In theActions
list, which is available on the right-hand side of IIS Manager, go to theDefault Web Site
properties.
- On the configuration screen, click on
Limits...
. You will get the following pop-up window:

- Here, we can limit the bandwidth usage in bytes, limit the connection timeout in seconds, and also limit the number of connections.
How it works...
We have installed IIS 10.0 with the default options and IIS 10.0 default website configuration. We also had an overview of wwwroot
, logs, and the configuration window. This will help us find out where the wwwroot
and logs
folders are located. We also reviewed the basic and default configuration of websites, binding options, and limits.
In the next recipe, we will create and configure our own settings.