IIS installation Configuration full Raiders--web article

Source: Internet
Author: User
Tags anonymous perl interpreter nslookup command

Windows Server, Windows Advanced Server, and Windows Professional default installations all have IIS, or you can install IIS after Windows 2000 is installed. IIS is a Microsoft production of a WEB, FTP, SMTP Server, a set of integrated software, bundled in the WINDOWS2000/NT, you can add/Remove Programs in the Control Panel select Add Remove Windows Component select Add IIS service. The following figure:


==========web server =========== The IIS default WEB (home) files are stored in%system%\inetpub\wwwroot in the system root, and the home page files are placed in this directory; For security reasons, Microsoft recommends using the NTFS format   All drives that use IIS. Quickly configure the default WEB site to open IIS Manager, select Internet Information Services in the Administration Tools of the Start menu, or enter%systemroot%\system32\inetsrv\iis.msc directly in the run

After the installation of IIS has been automatically established management and default two sites, where the management WEB site for site remote management, you can temporarily stop running, but it is best not to delete, otherwise it would be cumbersome to rebuild.

, Microsoft has already put detailed help into IIS: http://localhost/iishelp/iis/misc/default.asp configuration Right click on the existing "default WEB site", select Properties, and now start configuring IIS   Web site.   Each Web site has a unique, three-part identity that is used to receive and respond to requests in the form of port numbers, IP addresses, and host header names.   Browser access to IIS is the case: IP-> Port-> Host Header-> The site's home directory-> the site's default first document. So the entire configuration process for IIS should be set in the order of access: Step One, configure IP and Host Headers

Here you can specify the IP of the Web site, and if not specifically, select All Unassigned. If more than one host header is specified, IP must be selected as all unassigned, otherwise the visitor will not be able to access it.

If IIS has only one site, you do not need to write to the host header identity.   Then the port is configured, the default access port for the Web site is TCP 80, and if the site port is modified, the visitor needs to enter Http://yourip: The end eloquence can be accessed normally.   The second step is to specify the site home directory. The home directory is used to store the location of the site files, by default%system%\inetpub\wwwroot

You can choose a different directory as the location of the site files, click Browse and choose a good path.   You can also give visitors some permissions, such as directory browsing.   Based on security considerations, Microsoft recommends using IIS in NTFS disk format.   Step three: Set the default document.   Each Web site will have a default document, which is the file that the visitor first accesses when visiting the site, such as index.htm index.asp default.asp, and so on. Here you need to specify the default document name and order.

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

Generally give visitors the right to anonymous access, in fact, IIS by default has been established in the system IUSR_ machine name this anonymous user. Follow the wizard to create a new site if you want to set up a new site, you can set it by following the Wizard of IIS:

You can select your WEB server IP in the IP address clatter menu, which should be selected by default (All Unassigned). [TIPS: Through this pull-down menu, you can see if you have a public network IP]   The TCP default port is 80, and if the port is modified, it needs to be browsed using the HTTP://IP: Port format. The site host header causes the site to specify a domain name, such as Http://abc.vicp.net. Multiple host headers can be specified under one of the same IP. The default is None.

You can select the Web site's home directory, which is used to hold the home page file, and select Allow anonymous access to this site and anyone can access your Web site through the network

WEB site access permissions can be set to allow or disallow read, run scripts, and so on. General settings for the WEB site Select the site you just established, right-click and select Properties, and the Site Settings interface appears:

. Description: A description of the site, which will appear in the IIS admin interface in Site Name 2. IP address: Under normal circumstances, you can select All Unassigned.   The advanced options can set settings such as the host header Advanced WEB site identification.   3. TCP Port: Specifies the access port for this site, and the default port for the browser to access the WEB is 80. 4. Connection: Select unlimited options to allow simultaneous connection number unrestricted. Select the limit number of connections that are connected to the site at the same time. In the dialog box, type the maximum number of connections allowed.   Sets the connection timeout and, if unlimited, does not disconnect the visitor. 5. HTTP activation: Allows the customer to maintain an open connection to the server, instead of reopening the client connection one-by-one with the new request. Disabling HTTP activation can degrade server performance.   Keep HTTP activation enabled by default.   6. Logging: Optional log format: IIS, ODBC, or the expanded format of the consortium, and define logging options such as visitor IP, connection time, and so on.   Operator: Sets the user that operates IIS management, by default, allows only administrator privileges to manipulate and administer IIS. You can also add multiple users or user groups to participate in the administration and operation of IIS.

The home directory is used to set the file directory for the site, and you can select a local directory or a shared location on another computer.   You can set the location of the site directory in the local path, make sure you have the control management permissions for the directory. Access settings you can specify which resources are inaccessible to those resources, note directory browsing and log access, select Log access, and IIS records the access records for that site, and you can choose to record those data, such as visitor IP time, and so on. Configure whether visitors can execute programs and execute those programs in application settings

Main document: Sets the first file name of the site, and the visitor accesses the site in the order of the default document. To provide a default document at any time when the browser requests the specified document name, select the check box.   The default document can be the home page of a directory or an index page that contains a list of site documents. To add a new default document, click Add. You can use this attribute to specify multiple default documents. Provide the default document in the order of names that appear in the list.   The server will return the first document found.   To change the search order, select a document and click the arrow button.   To remove the default document from the list, click Delete.   Note: If you do not have the first file in the home directory, set up or make the relevant settings immediately. To automatically attach an HTML-formatted footer to each document sent by the WEB server, select this option. The footer file should not be a complete HTML document. Instead, you should include only HTML tags that you want to use to format the appearance and functionality of the footer content. To specify the full path and file name of the footer file, click Browse.


Directory security anonymous Access and authentication control: To configure the authentication and anonymous access features of the WEB server, click Edit. Use this feature to configure the Web server to confirm the identity of the user before granting 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 those accounts to authenticate the user.   Please open [Computer Management] to view it. IP address and Domain Name restrictions (this feature is available only on devices that have Windows SQL Server installed.)   : To allow or prevent specific users, computers, groups of computers, or domains from accessing the Web site, directory, or file, click Edit. = = Use IIS to establish multiple sites =========== Host headers Create a new two Web sites that specify two different domain names in the host header: Test-user1.vicp.net and Test-user2.vicp.net are available at the site properties of the Web site-> web site identification-> IP address-> advanced to arbitrarily modify the host header identity.

Use the nslookup command to designate Guangzhou Telecom ADSL The default DNS server detects: Tset-user1.vicp.net and test-user2.vicp.net IP are the same. However, when browsing, it is true that two different pages are displayed.

You can use different ports to set up multiple sites, but the visitor's browser's default access port is 80, so you must tell the caller what TCP port your site is using. Access format: Http://url:port Windows run IIS installation, configuration, advanced management settings The main properties of WWW and FTP services Right-click the server, select Properties, you can set the main properties of WWW or FTP, these properties include the entire site cache.

Let the WWW service support dynamic Program 1. To install the Perl language interpreter in IIS the author of the Perl language is Larry Wall.   Practical extraction and the Language is the language's full name, designed to replace the combination of Unix Sed/awk and shell script. For IIS to support this language, you need to install the Perl language interpreter. Official download of the Perl interpreter: http://www.perl.com/pub/a/language/info/software.html http://download.pchome.net/development/sever /perl/730.html (pchome.net) http://www8.pconline.com.cn/download/swdetail.phtml?id=4379 (pconline.com. CN) can directly put Perl in a directory after downloading, you can also run the Installation Wizard to install the files in the appropriate directory, which is installed under the D:\perl (Perl.exe in the bin directory).

The FTP server can use IIS to establish several different FTP servers, and can implement some column functions, such as restricting users, locking directories, locking permissions, blocking the IP of visitors, and so on. Set up a wizard that uses IIS to simply set up an FTP server.



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.