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

Installing IIS 10.0 on Windows Server 2016

From the previous recipes, we've understood the basics of IIS 10.0. Now we will go install IIS 10.0 on Windows Server 2016. We are already aware of the requirements. We will use GUI-mode installation, which will show you how to install and which options you need to select.

Getting ready

To step through this recipe, you will need a running Windows Server 2016 instance and installation media. You should have administrative privileges.

How to do it…

  1. Log in to Windows Server 2016 with an account with administrative privileges.
  2. Open Server Manager from the Start menu or use the search window to find it.
  1. You have to click on Add roles and features, or you can find the same option in top Manage menu.
  1. On the Before you begin wizard, simply click on the Next button. This window is just for information about installation prerequisites.
  2. On the Select installation type wizard, leave the default option Role-based or feature-based installation selected and click on Next.

  1. Now we have to select which server we have to install IIS 10.0 on. We are installing to our local machine, so leave Select a server from the server pool with the current machine selected and click on Next. Alternatively, you can select another server that you are managing from here. You can figure it out in the following diagram:
  1. Now we have to select the role from the Select server roles wizard. Check the box next to Web Server (IIS). Doing this may open up a new pop-up window advising that additional features are required; simply click on the Add Features button to install them as well. Click on Next on the Select server roles menu once this is complete.
  1. Once we have selected Web Server (IIS), we will get a list of additional features, which we can select from. At this stage, we are not going to select any features, so simply click on Next in the Select features wizard.
  2. Click Next on the Web Server Role (IIS) wizard after reading the information provided.

  1. The next window in the Select role services wizard allows you to install additional services for IIS, if required. You can always come back and add more later, so just click on Next for now to install the defaults.
  1. Now we are on the Confirm installation selections wizard, so review the items that are to be installed and click on Install to proceed with installing the IIS 10.0 web server on Windows Server 2016.
  1. Here, you can see the restart checkbox. No need to mark it for a normal IIS 10.0 installation--only when you uninstall something from the server or install an additional component that requires restarting the server do you need to reboot the system.

  1. Once the installation has succeeded, you can click on the close button. IIS 10.0 by default runs on port 80. It will auto-enable the World Wide Web Services (HTTP Traffic-In) firewall rule in Windows Firewall.

How it works...

When your are running your web server, it will process the request through the default http port, which has a numeric value of 80. The firewall rule was already enabled in the installation process. Now we need to know whether it's working fine.

We will perform a simple test by opening a web browser such as Internet Explorer and type the server IP address, http://127.0.0.1/, or http://localhost/ in the browser address bar and hit Enter to run the application. You will see the default IIS welcome page.

Look at this screenshot, which shows IIS 10.0 running on Server 2016.

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