Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Microsoft IIS 10.0 Cookbook
  • Table Of Contents Toc
Microsoft IIS 10.0 Cookbook

Microsoft IIS 10.0 Cookbook

By : Khan
2.5 (4)
close
close
Microsoft IIS 10.0 Cookbook

Microsoft IIS 10.0 Cookbook

2.5 (4)
By: Khan

Overview of this book

This book will start with customizing your IIS 10 to various platforms/OS and tune it according to your business requirements. Moving on, we will focus on the functionalities of core fundamentals and perform practical scenarios in order to maximize the use of a reliable web server. Going further we will be covering topics like IIS 10 architecture, IIS modules,hosting web server platforms, virtual directories along with web site deployment, ports, enhanced security. We will also cover new features of IIS 10 like integration with Windows Server 2016 and Nano Server, HTTP/2, PowerShell 5 cmdlets etc . Towards the end, we will cover troubleshooting & diagnostic techniques of IIS 10. By the end of this book you will be well versed with maximizing the reliability of your webserver and will have immense knowledge in using IIS 10 effectively
Table of Contents (14 chapters)
close
close

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.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Microsoft IIS 10.0 Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon