Learn Windows IIS in a Month of Lunches
Jason C. Helmick
  • December 2013
  • ISBN 9781617290978
  • 372 pages
  • printed in black & white

A fundamental reference for automating everyday tasks on IIS.

Victor Onate, Microsof

Learn Windows IIS in a Month of Lunches is an innovative tutorial designed for busy administrators. Even if you have no prior exposure to IIS, you can follow the crisp explanations, examples, and exercises in this concise, easy-to-read book. Just set aside one hour a day—lunchtime would be perfect—for a month, and you'll be managing, securing, and automating IIS administrative tasks faster than you thought possible.

Table of Contents detailed table of contents

preface

about this book

acknowledgments

1. Before you begin

1.1. Introducing IIS

1.2. What you need before you start

1.3. How to use this book

1.4. Setting up your lab environment

1.5. Taking immediate control over IIS

2. Deploying the web server

2.1. Locating and protecting the physical web server

2.2. Installing IIS on Microsoft Windows Server

2.3. Installing IIS on Server Core

2.4. Verifying a successful installation

2.5. Lab

2.6. Ideas to try on your own

3. Exploring and launching a website

3.1. Locating website configuration settings

3.2. Creating new web pages for testing and troubleshooting

3.3. Adding new folders and applications in the default website

3.4. Opening your first website for business

3.5. Lab

3.6. Ideas to try on your own

4. Managing application pools

4.1. Creating and configuring standard application pool settings

4.2. Application pool recycling: increasing reliability and availability

4.3. Lab

4.4. Ideas to try on your own

5. Adding more websites to your server

5.1. Phase 1: Adding a new website using the IIS manager

5.2. Phase 2: Uniquely identifying your websites with bindings

5.3. An alternate way: adding a new website using PowerShell

5.4. Lab

5.5. Ideas to try on your own

6. What every administrator should know about web applications

6.1. Configuring the basics for all applications

6.2. Supporting common web applications

6.3. Monitoring your applications

6.4. Lab

6.5. Ideas to try on your own

7. Securing your sites and web applications

7.1. Controlling who can access your site

7.2. Setting site-level permissions: NTFS

7.3. Advanced/Optional access control

7.4. Lab

7.5. Ideas to try on your own

8. Securing the server

8.1. Network protection for IIS

8.2. Adding additional security

8.3. Monitoring process for hacking

8.4. Lab

8.5. Ideas to try on your own

9. Protecting data with certificates

9.1. Not all certificates are the same

9.2. Implementing certificates on a single IIS server

9.3. Securing your websites

9.4. Lab

9.5. Ideas to try on your own

10. FTP and SMTP with IIS

10.1. File transfers

10.2. SMTP for email

10.3. Lab

10.4. Ideas to try on your own

11. Sharing administrative responsibilities through remote management

11.1. Implementing IIS remote management

11.2. Implementing IIS Remote Management Service on Server Core

11.3. Delegating access to other administrators and developers

11.4. Lab

11.5. Ideas to try on your own

12. Optimizing sites for users and search engines

12.1. Search Engine Optimization Toolkit

12.2. Improving SEO with URL Rewrite

12.3. Using regular expressions to improve URL Rewrite

12.4. Lab

12.5. Ideas to try on your own

13. Building a web farm with Microsoft Network Load Balancing

13.1. Introduction to the load balancing web farm

13.2. Deploying a web farm using Microsoft NLB

13.3. Deploying websites to a web farm using PowerShell

13.4. Health and verification for NLB

13.5. Lab

13.6. Ideas to try on your own

14. Building a web farm with Application Request Routing

14.1. Installing ARR

14.2. Creating a web farm with ARR4

14.3. Configuring Application Request Routing

14.4. Logging and health monitoring with ARR

14.5. Lab

14.6. Ideas to try on your own

15. High availability for ARR using Microsoft NLB

15.1. Adding affordable high availability

15.2. Lab (optional)

15.3. Ideas to try on your own

16. Sharing content and configuration to the web farm

16.1. Sharing content for a web farm using PowerShell

16.2. Sharing content using Distributed File System (DFS)

16.3. Sharing content from a single location

16.4. Lab

16.5. Ideas to try on your own

17. Sharing IIS configurations for a web farm

17.1. Configuring Shared Configurations

17.2. Installing components with Shared Configurations

17.3. Lab

17.4. Ideas to try on your own

18. Using the central certificate store for certificate management

18.1. Installing and configuring the central certificate store

18.2. Using CCS on remote web servers

18.3. Lab

18.4. Ideas to try on your own

19. Web farm provisioning with the Web Farm Framework

19.1. Implementing the Web Farm Framework with ARR

19.2. Building the web farm

19.3. Managing the web farm

19.4. Lab

19.5. Ideas to try on your own

20. Disaster recovery for IIS

20.1. Analyzing your environment for disaster recovery

20.2. Back up the critical components and data

20.3. Lab

20.4. Ideas to try on your own

21. The final exam

21.1. The lab setup

21.2. Your lab challenge

22. Never the end

22.1. Resources for the inadvertent IIS administrator

22.2. DevOps: the ever-changing job of the IIS administrator

23. IIS PowerShell cheat sheet

Getting a list of IIS components

Installing IIS

Testing a default installation

Importing and viewing cmdlets for IIS

Viewing a website

Navigating to application pools

Getting information about application pools

Creating application pools

Changing a website to a new application pool

Getting a list of worker processes

Restarting an application pool

Setting application pool settings (managed runtime)

Setting application pool recycling settings (recycle time)

Setting application pool recycling settings (schedule)

Viewing events for application pools

Getting the application pool identity

Setting an application pool identity (example for NetworkService)

Setting your own custom application pool user account as the identity

Creating websites

Setting static compression for a server

Getting and setting static compression for a site

Adding dynamic compression

Changing directory browsing

Getting and setting the Default Documents

Adding IIS 6 compatability mode

Adding ASP and ASP.Net

Adding CGI

Listing all log files for every website

Listing all HTTP requests that occurred at 9:00 p.m.

Listing all requests from clients to a particular URL

Listing all requests to/from a particular IP address

Adding Failed Request Tracing

Getting a list of authentication mechanisms

Getting anonymous authentication settings

Disabling/enabling anonymous authentication for the entire web server

Enabling/disabling anonymous authentication for a website or application

Adding Windows authentication

Getting information about Windows authentication settings

Enabling/disabling Windows authentication

Enabling/disabling Windows authentication per site or application

Adding basic authentication

Getting configuration information about basic authentication

Enabling/disabling basic authentication

Enabling/disabling basic authentication per site or application

Installing certificates

Adding an SSL binding

Binding a certificate to a website

Installing Remote Management to multiple computers using PowerShell Remoting

Installing a new certificate for Remote Management

Installing Microsoft NLB to multiple servers

Adding DNS records for websites

Deploying simple websites to a web farm

Making new sites on a web farm

Installing the central certificate store

24. Lab setup guide

24.1. Using Windows 7 or Windows 8 as a standalone client

24.2. Choosing a virtualization platform

24.3. Single-server environment

24.4. Two-server environment

24.5. The extended environment

24.6. Final notes

index

About the Technology

When your website slows to a crawl, Exchange stops sending internet mail, or SharePoint goes down, it doesn't matter if your business card says "IIS Administrator." You have to get things working again. Fast. IIS is the fundamental communication gateway for many Microsoft servers as well as the primary technology for publishing web sites. Knowing how to manage IIS effectively can mean the difference between a successful business solution and a vacant parking lot.

About the book

When your website slows to a crawl or Exchange stops sending internet mail, you have to get things working again. Fast. IIS is the communication gateway for most Microsoft servers as well as the primary technology for publishing web sites. Learning to manage it effectively means you can keep your systems running smoothly and go home on time.

Learn Windows IIS in a Month of Lunches is an innovative tutorial designed for busy administrators. Follow the crisp explanations, examples, and exercises in this concise, easy-to-read book, and you'll be managing, securing, and automating IIS faster than you thought possible. You'll start with IIS fundamentals, and then systematically explore web farm design, website management, and high availability, along with practices to keep your Exchange, SharePoint, System Center, and Lync servers running smoothly.

What's inside

  • 24 bite-sized lessons with practice examples
  • High-value troubleshooting techniques
  • No previous IIS experience assumed

About the reader

Written for anyone who needs to manage IIS, whether you're an IT pro or a reluctant administrator.

About the author

Jason Helmick is a professional trainer and consultant specializing in Active Directory and IIS. He's the founder of the Arizona PowerShell User Group.


Buy
  • combo $44.99 pBook + eBook
  • eBook $35.99 pdf + ePub + kindle

FREE domestic shipping on three or more pBooks

Comprehensive, in-depth, and up to date!

Jerry Warner, Southern Tier Athletics

Push your IIS skills to the next level.

Brian T Young, American Express

Excellent examples of management in both GUI and PowerShell.

Shane Beacom, Independent IT Consultant

Absolutely essential for the multiple-hat systems administrator.

Francis Setash, U.S. Department of State