Lesson 2a: Internet Information Server (IIS) on Windows 7

By default, IIS is not installed on Windows 7. But you can easily install and configure IIS by following the instructions below:

1. Click Start and then click Control Panel:

Start menu

2. In Control Panel, click Programs and then click Turn Windows features on or off:

Add/Remove Windows Components

3. In the Windows Features dialog box, click Internet Information Services and then click OK:

Install ISS

Congratulations! Your computer is now a web server!

Browsing your server

Next, you need to find your computer name. You'll find it by clicking the Start button, right-clicking Computer, and then clicking Properties.

My Computer

Under Computer name, domain, and workgroup settings, you can find your computer name. I have here stated my computer's name in red - it's called COMPUTER (but yours are probably called something else).

Computer Name

Now you simply type the computer name in the address bar of your browser...


... and when you click return you will see a page like the one pictured below. It means that you now have contact to your server. Now we just need to look at where you need to save your ASP pages.

Welcome to IIS

How to work with ASP and HTML files on the server

The last thing you need to know before you are ready to create your first ASP pages is where to save them.

The root of your website is c:\inetpub\wwwroot. This means that the file c:\inetpub\wwwroot\default.asp can be accessed in your browser at the address http://COMPUTER/default.asp (replace "COMPUTER" with the name of your computer (look above)).


And in the same way, the folder c:\inetpub\wwwroot\images will be available in your browser at http://COMPUTER/images.

That's it! Now are you ready to code your first ASP page. Hurry on to Lesson 3!

<< Lesson 2: Servers

Lesson 3: Your first ASP page >>