0% found this document useful (0 votes)
2 views

IIS

The document outlines the steps to configure a web server (web01) for remote management using IIS, including installing IIS on both web01 and a jump host (Jump01). It details enabling remote management, starting the Web Management Service, connecting to the web server from Jump01, creating a webpage, and editing site bindings for proper IP and DNS configuration. The instructions are primarily executed through PowerShell and the IIS Manager interface.

Uploaded by

QUAN WANG
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

IIS

The document outlines the steps to configure a web server (web01) for remote management using IIS, including installing IIS on both web01 and a jump host (Jump01). It details enabling remote management, starting the Web Management Service, connecting to the web server from Jump01, creating a webpage, and editing site bindings for proper IP and DNS configuration. The instructions are primarily executed through PowerShell and the IIS Manager interface.

Uploaded by

QUAN WANG
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

IIS

Topology
web01

A single web server that does web things.

Configure the server for remote management


The web server and remote management tools

There are no RSAT tools, you need to to install IIS on the jump host too.

# Invoke-Command -ComputerName jump01, web01 {Add-


WindowsFeature Web-Server,Web-Mgmt-Service}

Step 1: Install IIS on web01 and Jump01

On Jump01

1. Log in to Jump01.
2. Open PowerShell with administrative privileges.
3. Run the following command to install IIS and the Web Management
Service on Jump01 and web01:

Jump01(powershell run as aministrator)

Web01

In Regedit for the web server

At the console, press ctrl-shift-escape to open task manager, click file >
Run new task. Type regedit and hit enter to open it.

 HKEY_LOCAL_MACHINE\Software\Microsoft\WebManagement\Server
 Change the “EnableRemoteManagement” REG_DWORD to 1

Start the Web Management Service

# Start-Service WMSVC
Step 2: Enable Remote Management on web01

1. Log in to web01.
2. Open Task Manager by pressing Ctrl+Shift+Esc.
3. Click on File > Run new task.
4. Type regedit and hit Enter to open the Registry Editor.
5. Navigate to the following path

Step 3: Start the Web Management Service

1. Log in to web01.
2. Open PowerShell with administrative privileges.
3. Run the following command to start the Web Management Service

Connect to the web server


Open IIS Manager on Jump01

 Click on the earth icon top left, connect to server


 Put the web servers FQDN
 use the administrator credentials
 use the FQDN as the connection name

Step 4: Connect to the Web Server from Jump01

1. Log in to Jump01.
2. Open IIS Manager:
o Press Windows + R, type inetmgr, and press Enter.
3. Click on the earth icon in the top-left corner and select Connect
to a Server.
4. Enter the FQDN of web01.
5. Use the administrator credentials to connect.
6. Use the FQDN as the connection name.

Create a webpage
You can reach you website via web browser, but for now, all you have is
the IIS default web page.

 Right-click the site > Manage Website > Advanced Settings


 Take notice of the physical path
 If you put an index.html file in there with basic web stuff, it will
display the basic web stuff.

Step 5: Create a Webpage

1. Log in to web01.
2. Open IIS Manager.
3. Expand the Sites node and right-click on the Default Web Site.
4. Select Manage Website > Advanced Settings.
5. Note the Physical Path where the website files are stored.

6. Create an index.html file with basic HTML content in the noted


physical path.
7. Verify that you can access the default IIS webpage via a web
browser

The default site is missing some binding info. This is important if you’re
going to be running multiple sites

 Right-click the site > Edit Bindings


 Edit the only one there and put the web server IP instead of All
Unassigned and the DNS URL you created earlier.

Step 6: Edit Site Bindings

1. Log in to web01.
2. Open IIS Manager.
3. Right-click on the Default Web Site and select Edit Bindings.
4. Edit the existing binding:
o Change the IP address from All Unassigned to the IP
address of web01.
o Enter the DNS URL created earlier.
(mycompany.com ,10.173.180.6)

You might also like