Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft IIS 10.0 Cookbook

You're reading from   Microsoft IIS 10.0 Cookbook Task-oriented recipes to manage your web server with ease

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher
ISBN-13 9781787126671
Length 410 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Ashraf Khan Ashraf Khan
Author Profile Icon Ashraf Khan
Ashraf Khan
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Integrating IIS 10.0 with Windows Server 2016 FREE CHAPTER 2. Creating an Application Pool in IIS 10.0 3. Hosting Multiple Websites on IIS 10.0 4. Constructing Virtual Directories in IIS 10.0 5. Installing HTTP/2 on IIS 10.0 6. Getting Your Wildcard Host Up and Running 7. Deploying IIS 10.0 on Nano Server 8. Configuring IIS Administration with PowerShell Cmdlets 9. Enabling ASP.NET Core with IIS on Nano Server 10. Installing and Configuring SSL Websites 11. Extending IIS 10.0 to FTP 12. Securing Your Websites on IIS 10.0 13. Managing and Troubleshooting IIS 10.0

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...

  1. When we installed IIS 10.0 on Server 2016, the default installation folder location was C:\inetpub.
  2. Log in to Windows Server 2016, go to the C:\ drive, and find the default IIS folder called inetpub. You can see this in the following figure:
  1. By default, all the website files will be stored in the wwwroot folder. The path is C:\inetput\wwwroot. The following screenshot shows the default IIS 10.0 website files:
  1. Now, we are going to see the logs folder. It is located at C:\inetpub\logs:
  1. Start IIS Manager and select the Default Web Site. You will get the Actions window on the right-hand side. Inside the Actions list, we have the Edit Site option.
  1. Click on the Basic Setting... text button. You will get the following window for basic settings:
  1. We selected the Default Web Site; now you can see the Site name, Application pool, Physical path, and Connect as... authentication option.
  2. In the Edit Site window, you can change the Application pool and define your website folder path or default type of authentication. Finally, you can test the default settings.
  3. Let's look at some binding options. In the Actions list, you will see that there is a Bindings... option. Bindings are used for defining your website parameters: Type http, Host Name www.xyz.com, Port 80, and IP Address * for example, as shown here:
  1. Now, set the Limits for website access. In the Actions list, which is available on the right-hand side of IIS Manager, go to the Default Web Site properties.

  1. On the configuration screen, click on Limits.... You will get the following pop-up window:
  1. 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.

You have been reading a chapter from
Microsoft IIS 10.0 Cookbook
Published in: Jun 2017
Publisher:
ISBN-13: 9781787126671
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime