Windows 2019
Sponsored Link

IIS : Install2019/08/29

Install IIS (Internet Information Services) and Configure Web Server.
[1] Run PowerShell with Admin Privilege and Install IIS.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# install IIS with admin tools
PS C:\Users\Administrator> Install-WindowsFeature Web-Server -IncludeManagementTools 

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {Common HTTP Features, Default Document, D...

# verify running to access to default web site
PS C:\Users\Administrator> Invoke-WebRequest http://localhost 

StatusCode        : 200
StatusDescription : OK
Content           : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                    <html xmlns="">
                    <meta http-equiv="Content-Type" cont...
RawContent        : HTTP/1.1 200 OK
                    Accept-Ranges: bytes
                    Content-Length: 703
                    Content-Type: text/html
                    Date: Wed, 28 Aug 2019 02:02:51 GMT
                    ETag: "a40a0f9435dd51:0"
                    Last-Modified: Wed, 28 Aug 2019 01:57:40 GMT
Forms             : {}
Headers           : {[Accept-Ranges, bytes], [Content-Length, 703], [Content-Type, text/html], [Date, Wed, 28 Aug 2019
                    02:02:51 GMT]...}
                    href=""><IMG alt=IIS
                    src="iisstart.png" width=960 height=600></A>; outerText=; tagName=A;
ParsedHtml        : System.__ComObject
RawContentLength  : 703
IIS : Install (GUI)
On GUI installation, set like follows.
[2] Run Server Manager and Click [Add roles and features].
[3] Click [Next] button.
[4] Select [Role-based or feature-based installation].
[5] Select a Host which you'd like to add services.
[6] Check a box [Web Server (IIS)].
[7] Addtional features are required to add IIS Server. Click [Add Features] button and then Click [Next] button.
[8] Click [Next] button.
[9] Click [Next] button.
[10] This is the section to select Web Server features. Select them your'd like to add.
On this example, keep default and proceed next. It's possible to add these features after installing IIS, of course.
[11] Click [Install] button.
[12] After finishing Installation, click [Close] button.
[13] Run Web browser and access to [localhost], then it's possible to verify IIS is running normally.
Matched Content