[Image and text] installation and configuration of IIS in Windows 2000 (Web)

Source: Internet
Author: User
Tags nslookup command

Windows 2000 Server, Windows 2000 Advanced Server, and Windows 2000 Professional are installed with IIS by default. You can also install IIS after Windows 2000 is installed.
IIS is an integrated software set up by Microsoft to set up web, FTP, and SMTP servers. It is bundled in Windows2000/NT and can be added/deleted on the control panel.ProgramSelect Add Delete Windows Components and select Add IIS service. For example:

by default, IIS Web (homepage) files are stored in % System % \ Inetpub \ wwwroot in the system root zone, and the home page files are stored in this directory; for security reasons, Microsoft recommends using NTFS to format all IIS drives.
1. Quickly configure the default Web site
open the IIS manager, in the Start Menu, choose Internet Information Service or directly enter % SystemRoot % \ system32 \ inetsrv \ IIS. MSC
after the IIS is installed, the management and default sites are automatically created. The management web site is used for Site Remote Management and can be temporarily stopped, but it is best not to delete it, otherwise it will be very troublesome during reconstruction.
enter this address in the browser immediately. Microsoft has put detailed help information in IIS in advance: http: // localhost/IISHelp/IIS/MISC/default. ASP
right-click an existing "Default web site" and select Properties. Now, configure the IIS web site.
each web site is uniquely identified by three parts: the port number, IP address, and host header name.
when the browser accesses IIS, it is like this: ip> port> Host Header> Home Directory of the site> default first document of the site.
therefore, the entire IIS configuration process should be set in the access order:

    1. Step 1: ConfigureIPAnd Host Header

      You can specify the IP address of the web site. If you do not need it, select none.
      If multiple host headers are specified, the IP address must be selected as all unallocated. Otherwise, the visitor will not be able to access the IP address.

      If IIS only has one site, you do not need to write the Host Header ID.
      Then configure the port. The default access port of the web site is TCP 80. If the site port is modified, the visitor must enter http: // yourip: port to access the site normally.
    2. Step 2: Specify the Home Directory of the site.
      The main directory is used to store site files. The default value is % System % \ Inetpub \ wwwroot.

      You can select another directory as the location for storing site files. Click Browse and select the path.
      You can also grant access permissions, such as directory browsing.
      For security reasons, Microsoft recommends using IIS In the NTFS disk format.
    3. Step 3: Set the default document.
      Each website has a default document. The default document is the first file that a visitor needs to access when accessing the site, for example, index.htm index. asp default. asp.
      Specify the default document name and sequence.

      Note that the default document here is read from top to bottom.
    4. Last step: Set the access permission.

      Generally, the visitor is granted Anonymous Access Permissions. In fact, by default, IIS has already set up an anonymous user like IUSR _ machine name in the system.

2. Follow the Wizard to create a new site
To create a new site, follow the IIS Wizard to set up:


In the IP address menu, you can select your web server IP address. By default, you should select (all are not allocated ). [Tips: You can check whether you have a public ip through this drop-down menu] The default TCP port is 80. If you have modified the port, You Need To Use http: // IP: port format.
The site Host Header allows the site to specify a domain name, such as a http://abc.vicp.net. You can specify multiple host headers under the same IP address. The default value is "NONE ".

You can select the Home Directory of the web site, which is used to store home page files. If you select allow anonymous access to this site, anyone can access your web site through the network.

You can set the permission to allow or prohibit reading and running scripts for websites.
III, Web General site settings
Select the site you just created, right-click it, and select properties. The site settings page is displayed:

1. Description: site description. The site name appears on the IIS management interface.
2. IP Address: Normally, you can select all unallocated IP addresses. In advanced options, you can set the Host Header, advanced Web site ID, and other settings.
3. TCP port: Specify the access port of the site. The default access port of the browser to the Web is 80.
4. Connection: select the unlimited option to allow unlimited connections. Select to limit the number of connections to the site at the same time. In the dialog box, enter the maximum number of connections allowed. Set connection timeout. If you select "unlimited", the access will not be disconnected.
5. Http activation: allow the customer to maintain an open connection with the server, instead of re-opening the customer connection one by one using new requests. Disabling HTTP activation will reduce server performance. HTTP activation is enabled by default.
6. log record: You can select IIS, ODBC, or W3C extended log format, and define record options such as visitor IP address and connection time.
Operator: sets the user who operates IIS management. By default, only the Administrator permission is allowed to operate and manage IIS.
You can also add multiple users or user groups to manage and operate IIS.

The main directory is used to set the file directory of the site. You can select a local directory or another computer's shared location.
You can set the storage location of the site directory in the local path. Make sure you have the permission to control and manage the directory.
In the access settings, you can specify the resources that can access those resources that are not accessible. Note that directory browsing and log access are important. If you select Log Access, IIS records the access records of the site, you can choose to record the information, such as the visitor's IP time.
In application settings, configure whether visitors can execute programs and execute those programs.

Main Document: Set the homepage file name of the site. Visitors will visit the site in the order of default documents.
To provide a default document at any time when a browser requests a document name, select this check box. The default document can be the home page of the directory or the index page containing the list of site document directories.
To add a new default document, click Add ". You can use this feature to specify multiple default documents. Provide the default document by name in the list. The server returns the first document found.
To change the search order, select a document and click the arrow.
To delete a default document from the list, click Delete ".
Note: If the home page file does not exist in the home directory, create it immediately or set it.
Select to automatically add HTML footer to each document sent by the Web server, select this option. The footer file should not be a complete HTML document. Only HTML tags that need to be used to format the appearance and functions of the footer content should be included. To specify the full path and file name of the footer file, Click Browse ".

Directory Security
Anonymous access and authentication control:
To configure Web Server Authentication and anonymous access, click Edit ". Use this function to configure the Web server to confirm the user's identity before authorized access to restricted content. However, you must first create a valid Windows User Account, and then configure the Windows File System (NTFs) directory and file access permissions for these accounts so that the server can verify the identity of the user. Go go to [computer management.
IP address and domain name restrictions (this function is only available on devices installed with Windows 2000 Server .) :
To to allow or prevent a specific user, computer, computer group, or domain from accessing the Web site, directory, or file, click Edit ".
Iv. Use IIS Create multiple sites
Use of Host Header
Create two web sites, specifying two different domain names in the Host Header: test-user1.vicp.net and test-user2.vicp.net
You can modify the Host Header ID at will in the Web site> Web site ID> ip address> advanced of the site attribute.



Use the NSLookup command to specify that the default DNS server of Guangzhou Telecom ADSL is detected:
The tset-user1.vicp.net is the same as the test-user2.vicp.net IP. However, the browser displays two different pages.

Note: when using the Host header to create multiple sites with different domain names, you must also pay attention to the settings such as the main document.
Use port configuration to create multiple sites

You can use different ports to set multiple sites, but the default access port of the visitor's browser is 80, so you must tell the visitor what the TCP port is for your site.
Access format:
Http: // URL: Port

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.