IIS is a Microsoft-driven Web server with IIS components in Windows 2000/2003 Server and Windows XP, and we can set up Web, FTP, mail, and other servers through the IIS components. This article takes Windows XP as a platform and gives you a quick overview of how to install and configure IIS.
First, install the IIS components
The first step: select "Start" → "settings" → "Control Panel" → "Add or Remove Programs", open the Add or Remove Programs dialog box.
Step Two: Click Add/Remove Windows components in the left button panel of the dialog box to open the Windows Components Wizard dialog box. In the Components list of the dialog box, select the Internet Information Services (IIS) check box. Because the SMTP service, FTP service, and so on are integrated in the IIS components, you can cancel the installation of the service in the Open dialog box by clicking the "Details" button when you select the checkbox.
Step three: Then follow the wizard prompts to install, during the installation process will prompt you to insert the Windows XP installation CD-ROM, at this point you will be the path to the Windows XP Installer I386 directory.
Second, configure IIS
After installing the IIS components we can use the IIS service, but now your Web server has not been configured to complete, we also need to configure IIS.
The first step: select "Start" → "settings" → "Control Panel" → "Administrative Tools" → "Internet Information Services", open the Internet Information Services dialog box.
Step two: In the list on the left-hand side of the dialog box, expand Internet Information Services → local computer → web site → default Web site, which shows the files and folders under "C:\Inetpub\wwwroot", which is the path that the site stores. This is also the default setting for the system, which we can modify.
Step three: Select Actions → properties in the dialog box menu to open the Default Web Site Properties dialog box. Select the Home Directory tab, and enter the path to the Web site in the Local Path text box on the tab.
Fourth step: Because browsing the site by default does not support ASP programs, we need to set up. Select the Documents tab in the Default Web Site Properties dialog box, and then click the Add button in the "Enable Default Document" option area, enter "Index.asp" in the Open Add Default Document dialog box, and then click OK.
Fifth step: The configuration of IIS to complete, now open IE browser and enter http://127.0.0.1 in the address bar or you can browse the Web, because we have applied for the peanut shell of the free domain name, you can also use the domain name you apply for access, But the prerequisite is that the peanut shell service must be activated.