O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Microsoft IIS 10.0 Cookbook

Book Description

Over 60 recipes to install, configure, and manage your IIS 10.0

About This Book

  • Provide a secure, easy-to-manage extensible platform for hosting your websites
  • Leverage IIS 10.0 in order to deploy web site in seconds
  • Integrate Windows and Nano Server 2016 and automate it with PowerShell
  • Recipes to Manage and monitor your IIS 10.0

Who This Book Is For

If you are an administrator or web developer with a basic (or no) knowledge of Microsoft IIS and want to set up your own web server, then this is the book for you.

What You Will Learn

  • Integrate IIS 10.0 on Windows server 2016
  • Host multiple websites and Wildcard Host on IIS 10.0
  • Deploy and administrate IIS 10.0 on Nano Server.
  • IIS administration with Powershell.
  • Manage and troubleshoot IIS 10.0

In Detail

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

Style and approach

A set of exciting recipes on using Microsoft IIS 10.0 effectively..

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Table of Contents

  1. Preface
    1. What this book covers
    2. What you need for this book
    3. Who this book is for
    4. Sections
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    5. Conventions
    6. Reader feedback
    7. Customer support
      1. Downloading the example code
      2. Downloading the color images of this book
      3. Errata
      4. Piracy
      5. Questions
  2. Integrating IIS 10.0 with Windows Server 2016
    1. Introduction
      1. Understanding IIS 10.0
      2. Basic requirements of IIS 10.0
        1. OS requirements
        2. Hardware requirements
          1. Windows Server 2016
          2. Windows 10
        3. Operating system media
    2. IIS 10.0 architecture
      1. Getting ready
      2. How to do it...
      3. How it works...
        1. Introducing the IIS 10.0 architecture's components and modules
          1. Overview of an HTTP request
          2. Details of an HTTP request inside the worker process
    3. Installing IIS 10.0 on Windows Server 2016
      1. Getting ready
      2. How to do it…
      3. How it works...
    4. IIS Manager
      1. Getting ready
      2. How to do it...
        1. How to manage remote IIS?
      3. How it works...
    5. Basic configuration of IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Hosting static web page
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Testing a static-page website
      1. Getting ready
      2. How to do it...
      3. How it works...
  3. Creating an Application Pool in IIS 10.0
    1. Introduction
    2. Understanding application pools in IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Installation of lower framework version
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating different application pools in IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuration of application pool on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Hosting .NET web page
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Hosting different versions of a .NET website
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Testing different versions of a website
      1. Getting ready
      2. How to do it...
      3. How it works...
  4. Hosting Multiple Websites on IIS 10.0
    1. Introduction
    2. Hosting multiple websites
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Creating a website folder
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Configuring websites
      1. Getting ready
      2. How to do it...
      3. How it works..
    5. Configuring ports
      1. Getting ready
      2. How to do it...
      3. How it works..
    6. Configuring the website IP
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Deploying websites
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Testing websites
      1. Getting ready
      2. How to do it...
      3. How it works...
  5. Constructing Virtual Directories in IIS 10.0
    1. Introduction
    2. Constructing a virtual directory in IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Understanding IIS 10.0 virtual directories
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Configuring virtual directories in IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuring virtual directories with different application pools
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Uploading a .NET web page
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Testing the uploaded web page
      1. Getting ready
      2. How to do it...
      3. How it works...
  6. Installing HTTP/2 on IIS 10.0
    1. Introduction
    2. Understanding HTTP/2
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Installing HTTP/2 on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Configuring HTTP/2 on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Uploading .NET web pages
      1. Getting ready
      2. How it do it...
      3. How it works...
    6. Testing uploaded web pages
      1. Getting ready
      2. How to do it...
      3. How it works...
  7. Getting Your Wildcard Host Up and Running
    1. Introduction
    2. Understanding wildcard hosts
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Creating a wildcard host
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Configuring a wildcard host
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Uploading .NET web pages to a wildcard host
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Testing uploaded website pages
      1. Getting ready
      2. How to do it...
      3. How it works...
  8. Deploying IIS 10.0 on Nano Server
    1. Introduction
    2. Understanding IIS 10.0 on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Installing IIS 10.0 on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Managing IIS 10.0 on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Creating an IIS 10.0 website on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Configuring an IIS 10.0 website on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Uploading website pages
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Testing uploaded web pages
      1. Getting ready
      2. How to do it...
      3. How it works...
  9. Configuring IIS Administration with PowerShell Cmdlets
    1. Introduction
    2. IIS administration with PowerShell cmdlets
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Creating an advanced IIS 10.0 website on Nano Server
      1. Getting ready
      2. How to do it...
      3. How to do it...
    4. Configuring IIS 10.0 websites on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Uploading IIS 10.0 websites to Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works....
    6. Testing uploaded web pages
      1. Getting ready
      2. How to do it...
      3. How it works...
  10. Enabling ASP.NET Core with IIS on Nano Server
    1. Introduction
    2. Understanding ASP.NET Core with IIS on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Configuring ASP.NET Core with IIS on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating an IIS 10.0 virtual directory on Nano Server
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuring a virtual directory in IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Uploading and testing web pages in a virtual directory
      1. Getting ready
      2. How do to it...
      3. How it works...
  11. Installing and Configuring SSL Websites
    1. Introduction
    2. Understanding SSL websites in IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Installing SSL
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating an SSL certificate
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuring websites with an SSL port and certificate
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Using PowerShell commands to create SSL certificates
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Testing SSL websites
      1. Getting ready
      2. How to do it...
      3. How it works...
  12. Extending IIS 10.0 to FTP
    1. Introduction
    2. Understanding FTP
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Installing FTP on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Creating, securing, and configuring an FTP site
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Creating an FTP user and managing user permissions
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Testing our FTP server
      1. Getting ready
      2. How to do it...
      3. How it works...
  13. Securing Your Websites on IIS 10.0
    1. Introduction
    2. Understanding available security on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Configuring security on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. URL authorization and authentication
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. IP address and domain restrictions
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Testing security on IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
  14. Managing and Troubleshooting IIS 10.0
    1. Introduction
    2. Managing IIS 10.0
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Installing Health, Diagnostics, and Performance features
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Configuring Health and Diagnostics
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Configuring Failed Request Tracing Rules
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Configuring static content compression
      1. Getting ready
      2. How to do it...
      3. How it works...