Changes

Jump to: navigation, search

OPS705 Lab 5 (2207)

2,799 bytes added, 22:32, 2 September 2020
Created page with "= LAB PREPARATION = === Purpose / Objectives of Lab 6 === In this lab, you will set up an IIS web server on your Windows Server VM, and learn how to set up port forwarding th..."
= LAB PREPARATION =

=== Purpose / Objectives of Lab 6 ===
In this lab, you will set up an IIS web server on your Windows Server VM, and learn how to set up port forwarding through your Linux Server VM to allow access to the IIS web server on the Internet.

'''Remember:''' While you are working through this lab, it is highly recommended that you write notes down in your OPS705 Lab Logbook.

If you encounter technical issues, please contact your professor via e-mail or in your section's Microsoft Teams group.

=== Minimum Requirements ===
Before beginning, you must have:
# Successfully completed [[OPS705_Lab_5 | Lab 5]]
# Watched the Week 5 video lecture
# Read through the Week 5 slides, and have them handy as a reference for concepts
# Your Azure-based Linux VM
# Your [[File:OPS705_Lab_Logbook | OPS705 Lab Logbook]]

= INVESTIGATION 1: Setting Up An IIS Web Server =
Setting up an Internet Information Services web server on an Azure VM is incredibly easy, especially in contrast to Lab 5's Apache setup.

== Part 1: Installing IIS ==
# Spin up your Windows Server VM, and wait until it's fully started up.
# In the Azure blade for your Windows Server VM, click on the '''Manage artifacts''' item in the menu bar to the left.
# In this new window, click on the '''Apply artifacts''' button. This will bring you to the ''Add artifacts'' screen.
# In the ''Add artifacts'' search field, type '''IIS'''.
# Click on '''Internet Information Services (IIS)''' in the results listing, then click '''Add''' in the next window.
# You'll be returned to the ''Add artifacts'' window. Simply click '''OK'''.
# The ''Manage Artifacts'' window will return, and a new entry for ''Internet Information Services (IIS)'' will appear. Its status will cycle through ''Pending'', ''Installing'', and finally ''Succeeded''.
# Remotely connect to your Windows Server, open a browser in the VM, and navigate to <code>http://localhost</code>. You should see the IIS default splash page. Congratulations!

== Part 2: Editing Your IIS Website ==
# Connect to your VM remotely.
# Open '''Server Manager''' and click on the '''Local Server''' menu bar option.
# Towards the top of the window, click '''Tools > Internet Information Services (IIS) Manager'''
# In the new window, find the ''View'' menu item near the top, and click ''View file extensions''.
# In the menu on the right of the new window, click '''View Sites''', then click '''Explore'''. This will open a new folder where your IIS web pages are stored.
# Right-click anywhere in that window, click '''New > Text Document'''. Name it '''index.html'''.
# Open the text file, and write the same HTML code as Lab 5, changing the title tag to ''OPS705 IIS Web Server - Fall 2020''.
# Refresh your browser page from ''Part 1''. You should see your new code.

Navigation menu