14th Jul, 2008

4. Installing and creating a website using IIS

NOTE:

1. Before you perform these labs, Make sure that you have installed VPC in your PC.

2. Make sure that you already have concept of DNS and Active Directory. i.e. you have installed AD and DNS in your server.

3. Make sure that you have an extra Windows 2003 server installed named as Windows Server 2003 B with two ethernet cards installed into it in order to perform these labs.

Installing and creating a website using IIS

 

Exercise 1 – Creating a Web Site

 

  1. At Windows Server 2003: Locate the c:\inetpub\wwwroot folder and create a text file called default.html
  2. Edit this file with notepad and type the following text and then save the file: <H1>Win Server 2003 2 Web Site </H1>

<body><I> This is my website</I><BODY>

  1. From admin tools, locate the IIS manager shortcut.
  2. Expand the server.
  3. Expand web sites.
  4. Expand the default website.
  5. Right click and choose properties.
  6. Click the documents tab.
  7. Click <add> and type the name default.html
  8. Click <OK>
  9. Use the <move up> button to position this file at the top of the list and click <OK>
  10. Click <OK> again.

 

Exercise 2 – Enabling NAT

 

  1. At Windows Server 2003 B: Enable NAT just as before, however, this time, enable forwarding for the HTTP protocol to the Windows Server 2003 machine.
  2. From admin tools, click the routing and remote access shortcut.
  3. Right click your server and choose configure and enable routing and remote access.
  4. Click <next>
  5. Choose the NAT option.
  6. Click <next>
  7. Select the public interface from the dialog and click <next>
  8. Click <next>
  9. Click <next>
  10. Click <finish>
  11. Routing and Remote Access is started.
  12. Expand your server object.
  13. Expand the IP routing object and expand NAT/Basic Firewall.
  14. Right click public and choose properties.
  15. Deselect the basic firewall option.
  16. Click services and ports tab.
  17. Click to select Web Server (HTTP).
  18. Enter the IP address of the Windows 2003 server in your private network (10.2.0.2) and click <OK> twice.

 

 

Exercise 3 – Testing a Web Site

 

  1. At your host operating system: Open a command prompt.
  2. Open Internet Explorer.
  3. In the address bar, type http://W.X.Y.Z (where this represents the public IP address or Windows Server 2003 B) and press enter.
  4. Observe the default website.
  5. Open the Tools Internet Option menu.
  6. Click the <use current> button.
  7. Click <OK>
  8. Close Internet Explorer.

Leave a response

Your response:

Categories