Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.77 KB

File metadata and controls

61 lines (41 loc) · 1.77 KB

Practice: Web Server (IIS)

This lab involves setting up a Web Server, configuring DNS for website names, and creating multiple IP-based and Name-based sites.

Lab Environment

VM Role IP Address
Server IIS, DNS, DC 10.10.10.10 + Additional IPs
Client Windows 10 10.10.10.15

Tasks

1. Server Setup

  1. Install Roles: Web Server (IIS) and DNS.
  2. Bind Additional IPs:
    • Add 10.10.10.50 through 10.10.10.55 to the server's network adapter.
  3. Create Directories:
    • C:\Data\pet-rescue.org\www
    • C:\Data\creativedesigns.net\www
    • C:\Data\xyzsports.co.uk\www
  4. Create Content: Place a unique index.html in each folder (e.g., <h1>Welcome to Pet Rescue</h1>).

2. DNS Configuration

Create Forward Lookup Zones and A Records:

  • pet-rescue.org -> 10.10.10.50
  • creativedesigns.net -> 10.10.10.52
  • xyzsports.co.uk -> 10.10.10.54

3. Create IIS Sites

In IIS Manager, create new websites:

Site 1: Pet Rescue (IP-Based)

  • Name: PetRescue
  • Path: C:\Data\pet-rescue.org\www
  • Binding: IP 10.10.10.50, Port 80

Site 2: Creative Designs (IP-Based)

  • Name: CreativeDesigns
  • Path: C:\Data\creativedesigns.net\www
  • Binding: IP 10.10.10.52, Port 80

Site 3: XYZ Sports (Name-Based / Host Header)

  • Name: XYZSports
  • Path: C:\Data\xyzsports.co.uk\www
  • Binding: IP 10.10.10.54, Port 80, Host Name www.xyzsports.co.uk

4. Verification

From the Client VM:

  1. Open a browser.
  2. Navigate to the URLs (e.g., http://www.pet-rescue.org).
  3. Verify the correct custom HTML page loads for each site.