How to install IIS in Win2000/WinXP and PWS in Win98

Source: Internet
Author: User
How to install IIS in Win2000/WinXP and PWS in Win98Figure/Text: Free Yong CLICK: MT-8000 last update 2003-10-02

Compared with PHP, it is easy to install IIS or PWS. IIS (WinNT platform) and PWS (Win9X Platform) belong to the same thing. They are the development platform and running backend of ASP and the running software of servers. The installation of IIS is briefly introduced in the first part of the ASP tutorial.

First, we strongly recommend Windows Server version. During system installation, IIS is already installed in Win2000 Server edition in the default settings. The recently launched Win2003 server version is not as good as you think, because the server is pursuing speed. Among the five systems I have used: Win98, Win2000 Professional Edition, Win2000 Server Edition, WinXP, and Win2003 Server Edition, Win2000 Server Edition run at the fastest speed, IIS has a very short response time, and WinXP is the slowest.

After IIS or PWS is installed, you must set a virtual directory. Without a virtual directory, the webpage cannot be accessed.
IIS is successfully installed in Win2000 Professional edition. It is difficult for WinXP users to install IIS. This article will be detailed in five parts:
1. How to install IIS in Win2000?
2. How to install IIS In WinXP?
3. How does IIS set virtual directories and uninstall IIS?
4. How do I set the default document?
5. How to install PWS in Win98 and set virtual directories in PWS?
Note: If you have any problems with IIS, click here to view the topic. In fact, the best solution is to repair or reinstall the system, because the system dll dynamic link files, or other drivers, are often damaged.


1. How to install IIS in Win2000?
IIS of Win2000 is version 5.0 and is an ASP development platform. The installation method is to insert the Win2000 or WinXp installation disk, click "Start> Settings> Control Panel> Add/delete Programs> Add/delete Windows components", and then appear, check IIS for the first item:

Figure 1

The following message is displayed:

At this time, you must find the I386 directory, and you need to re-find the path for both times, and the installation is complete all the way to be sure ﹗

2. How to install IIS In WinXP?
WinXP is difficult to install IIS. I have seen two professional versions, one of which can be installed normally like Windows2000; the other, the IIS installation item is not visible when you add/delete Windows components. The detailed steps are as follows:
1) First, click here to Download the driver from this website, 236 K: [Download]
2) After decompression, you can get two files. Suppose your XP system is installed in the E: \ Windows directory.
3) Copy iis. inf to the E: \ Windows \ inf directory.
4) Copy iis. dll to the E: \ Windows \ system32 \ setup directory.
5) then click here to Download the ADMXPROX. DL _ file: [Download], and save it to any path, as long as it can be found during installation.
6) Then insert the WinXP installation disk and install it like Win2000. The steps are as follows.
· After the installation, if the Internet Service Manager is empty and cannot connect to the computer, you have to change to an XP installation disk and reinstall the XP system.

3. How to use IIS? (Set virtual directory)
You need to create a virtual directory. Note that the settings of Win2000 Professional Edition and Server Edition are different. Here, the most common professional edition is used as an example:
For example, my computer name is "zic", and my d disk contains the "my files" folder, which is named zp. After a virtual directory is set, http is available: // zic/zp to access it.If you do not know your computer name, you can right-click my computer on the desktop → properties, the computer name can also be replaced by a local IP address 127.0.0.1 or localhost. To set a virtual directory, Open Control Panel> Administrative Tools, select "Internet Service Manager", and right-click "Default Web site" (or default website, select "New → virtual directory", write the alias zp, find D: \ My files in the directory, and tick "execute, write, browse. Click OK. The key steps are as follows:

Note here ── ─ →

Note that in resource manager, the root directory of your home page can be in Chinese (for example, "D: \ My files "), however, the content of the root directory or the next level, that is, the folder and file name of your home page, cannot be displayed in Chinese.
Then you can use http: // zic/zp or http: // 127.0.0.1/zp or http: // localhost/zp to access your homepage. Next let's start the test: Create a webshu.txt file under "D: \ my portfolio, then change it to webshu. asp, and write a program. For example:

For example, if my computer name is zic, use these three methods to access this file locally. The running result is as follows:

127.0.0.1/zp/webshu. asp

Zic/zp/webshu. asp

Localhost/zp/webshu. asp

4. How do I set the default document?
It is suggested that you set the folder's document to index.htm. You can browse this folder later. For example, if the file "D: \ my work \ index.htm" is accessible only through http: // zic/zp, http: // zic/zp/index.htm is the same.
The method is to create a virtual directory and expand "Default Web tracking.
· For the default document, you can add multiple default documents. The higher the default document, the higher the priority. For example:
Index.htm
Index. asp
Note: When you cannot find index.htm, it will find the index. asp file.

· How to uninstall IIS
Open "Start → settings → Control Panel → Add/delete programs → Add/delete Windows components", 1, remove the check box on the first IIS, and click Next to uninstall.

5. How to install PWS in Win98 and set virtual directories?
1. Find the "Win98 Full Edition" installation disc, which contains the add-ons \ pws folder. In the PWS folder, double-click setup.exe. The installation is complete.
2. Find C: \ WINDOWS \ SYSTEM \ inetsrv \ pws.exe and open "Personal Web Manager ".
3. The current pws status is displayed in "publish" on the main screen. If it is stopped, click Start ".
4. You need to set a virtual directory. Click "advanced" in the personal Web Manager and select "add". The alias is very important. For example, the alias is spa. Click Browse to find the folder where your home directory is located, for example, D: \ my work \ My web page.
5. Check the read, execute, and script.
6. Check "enable default document" and "allow browsing directory. The document is index.htm, index. asp.
7. Now debugging is complete. Then, enter http: // 127.0.0.1/spa in IE to view your ASP Webpage.

(All Rights Reserved. Thank you for reading this article !)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.