Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

IIS Manager

Now that we know how to install IIS 10.0, let's take a look at IIS Manager, which comes as a part of the IIS 10.0 Management tools provided by Microsoft. IIS 10.0 can be managed in either GUI mode or with PowerShell commands. The IIS Manager GUI interface comes with Windows Server 2016 by default.

We will also learn how we can connect a remote IIS server with IIS Manager.

Getting ready

To step through this recipe, you will need a running IIS 10.0 instance on Windows Server 2016. For remote IIS management, you need to Install IIS management tools.

How to do it...

  1. Start Server Manager on Windows Server 2016, which already has IIS 10.0 Installed on it.
  2. Click on the Tools menu.
  3. At the top, you will be able to see Internet Information Service Manager (IIS). This figure will show you how to get there:
  1. You will now see the IIS Manager home screen.
  1. IIS Manager shows you its connected servers, which have IIS 10.0 already installed on it.
  2. Then, we select WIN2016IIS (WIN2016IISAdministrator), which is at the left-hand side.
  3. The IIS Manager home screen will display the default features of IIS 10.0.

  1. As you can see in the following figure, there is an Application pool on the left-hand side along with your Default Web Site. Then, there are feature configuration options available in the middle section and then Manage Server, Restart, Start, and Stop at the right. You can browse the website from here.

How to manage remote IIS?

  1. You have more than one IIS Server instance available to manage even only
    website or web application want to manage from IIS Manager.
  2. We are going to connect a remote IIS Server instance with IIS Manager on Windows Server 2016. This you can do with any operating system that supports IIS 10.0.

  1. First, you have to install the Management Service role on the remote IIS server.
  2. Follow these path indicated by the next screenshot. You only have to select the Management Service feature.
  1. Select Management Service, press Next, and Finish the installation.

  1. Now open IIS Manager on remote server 172.16.15.212--this is the IP address in my case, but in your case, it will be your local machine's IP address. The default local machine IP address is 127.0.0.1. We have to enable remote connections, so select the IP of the server and set the Default port to 80. Allow access, Apply, and then Start. You can refer to this screenshot:
  1. Now we have to come to Windows Server 2016, which has IIS 10.0 Installed.

  1. Right-click on the Start Page icon or click on the globe below Connections. You will see the option to connect to an IIS Server, a website, or application.
  1. We will work on the server connection option first. Click on Connect to Server, which is listed in the previous screenshot. On the next screen, it will ask you whether you want to select a remote server IP or Computer Name.

  1. Enter the server IP address, which is 172.16.15.212. You will see the next screen. Click on the Next button to finish the current step.
  1. Now you have to enter your username and password, after which a server certificate confirmation alert pop-up message comes up on a successfully authenticated username and password. Click on the Connect button.
  1. Then, provide the server name. We are using remote IIS as the server name. Click on Finish. That's it; you're done. In the next screenshot, you can see the remote IIS server connected in the left-hand panel of connections for remote IIS management.

How it works...

Remote management for IIS Server is an easy way to manage several IIS servers at the same time from a single window. You can manage websites and application pools remotely as well.

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 $19.99/month. Cancel anytime
Banner background image