How to add multiple sites in IIS of Windows XP and how to increase the maximum number of connections.

Source: Internet
Author: User
How to add multiple sites?

IIS in XP does not support multiple sites. We can add multiple sites by running a script.

The procedure is as follows:

  • Open a command line window
  • Enter "CD \ Inetpub \ adminscripts" and press ENTER
  • Know the maximum number of the site you have created.
    Enter the following command
    Adsutil. vbs Enum/P w3svc
  • If you have never added a site, the maximum number is 1.
  • Add the largest number to 1 and only run the following command:
    Adsutil. vbs copy w3svc/1 w3svc/X

    HereXIs the new maximum number. For example, if the maximum number you find through Enum is 4, the command line should be like this:

    Adsutil. vbs copy w3svc/1 w3svc/5
  • Open the IIS manager after running, and you will see that a new site has been created. This site is a copy of the previous site. You can modify the site as needed.
  • However, XP can only run one site at a time. To use a new site, you must stop the previous one.
How to increase the maximum number of connections?

The maximum number of connections can be increased to 40, and the high setting is invalid, because 40 is hard-coded as the maximum limitCode.

The command is as follows:

Adsutil set w3svc/maxconnections 40

Related 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.