Setting up your local machine to use IIS as a web development server is easy and takes no time at all. Although IIS Express can perform the same tasks that IIS can on a Localhost, many developers prefer to run and debug their websites in a Localhost environment. You no longer need admin access to your machine for web development and setting up virtual directories is a lot easier. This guide will walk you through setting up your local machine to use IIS as a web development server.
Assuming that you have IIS installed on your machine, you’ll need to take the following steps to get started:
1. Click Start > Control Panel.
2. Click System and Security > Administrative Tools.
3. In the Administrative Tools window, double-click Internet Information Services (IIS) Manager.
This opens a window similar to the one in figure A.1.
Next, right-click Sites and choose Add Web Site. This opens a window similar to the one in figure A.2.
This window allows you to select a site name as well as set the physical path of your website. Once you’ve completed these details, click OK and you should be able to start working immediately. Open your web browser, navigate to http://localhost, and you’ll be able to see your website!
The lists which follow figure A.2 show tools, mentioned throughout the book, used to improve and monitor the performance of your websites.
To learn more about managing your IIS server, the Microsoft IIS website is packed with useful resources. Please refer to www.iis.net/learn.
18.217.12.218