Set a site on Local Windows XP IIS Server
Normally if your OS is Windows XP Professional, you might have already a IIS Web Server for ASP.NET installed or you can install from your Windows XP CD disk.
The IIS verision shown as the following:
Windows Server 2008****: IIS 7.0 Windows Server 2003: IIS 6.0 Windows XP Professional: IIS 5.1 Windows 2000: IIS 5.0
How to open IIS Manager in Windows XP
- On the Start menu, click Control Panel. (If you are using the Windows Classic theme for your desktop display, by default the Control Panel menu item is on the Settings menu.)
- If you have not already done this, click Switch to Classic View.
- Double-click Administrative Tools, and then double-click Internet Information Services.
If you want to know how to open IIS in other Windows Editions, please check here - MSDN site
When you open IIS manager, you can see a interface like the following:
Unlike IIS 6.0 in Windows Server 2003, IIS 5.1 in Windows XP Pro only supports one website. So you can not see "new web site" option if you attemp to right click the "Web Sites". So you only can add new virtual directory in IIS 5.1, but doesn't matter, you can set your new virtual directory as a website root directory, just like you add a new website.
To add a new virtual directory right click on 'Default Web Site' and select 'New', like following showing:
Now you will see the Virtual Directory Creation Wizard, please followed the steps, input Alias name for the virtual directory
Then you have to specify a directory on your local PC to be a virtural directory. You can select an existing folder or create a new one to contain the content for the virtual directory.
Then you will set access permissions that you want to assign to the users. By default, the **Read **and Run Scripts are selected. These permissions enable you to run ASP.NET pages for many common scenarios. For more information, see the next section in this topic.
Click **Next **and then click Finish. Then you done for setting a site on Local Windows XP IIS Server now.
About further configuring your Virtural Directory and more security and authentication for a virtual directory, please read the next article.