Win2003 set up WEB server

  

The WWW server under Windows has won the favor of many people because of its convenient installation and simple operation. The following will introduce Windows Server 2003 as an example to introduce how to configure a web server.

First, set up a Web server

The default installation of Windows Server 2003 is not configured with IIS services, we need to manually install. Go to the Control Panel and execute “Add or Remove Programs & Rarr; Add/Remove Windows Components> Go to the Windows Components Wizard window and check “Application Server & Rarr; Internet Information Service", "OK" The wizard window clicks “Next” to add the IIS service. In the control panel management tool, execute the “Internet Information Service (IIS) Manager”. Enter the main interface of the IIS Manager. You can see that IIS under Windows Server 2003 supports static websites by default. Configure the Web service extension properties. For example, to execute the ASP website, select "Active Server Pages" in the "Web Service Extensions" list and click the "Allow" button to enable the function. Then you can configure the Web site specifically.

1. Basic configuration of the website. In the right-click menu of the "Default Web Site", select "“Properties" to enter the "Default Website Properties" window. In the "Descriptions" section on the "Website" tab, you can give the website a name. If the machine has multiple IP addresses assigned, select an IP address assigned to the Web site in the IP Address box; then go to the “Main Directory” tab to specify the source of the Web content of the website and in the “Documents” ” Configure the IIS default startup documentation. After clicking the "application" button, you can use http://127.0.0.1 to verify the website.

2. Website performance configuration. Go to the “Performance” tab, where you can limit the bandwidth and number of connections to your site to better control the traffic to your site. If it is a multi-site server, you can limit the bandwidth and number of connections to a site. Relax restrictions on visits to other sites and free up more system resources for other sites. (Hint: In the actual limited operation, we need to adjust according to network traffic and usage changes.)

3. Security configuration of the website. In order to ensure the security of the operation of the Web site and server, you can configure the “Authentication and Access Control” and “IP Address and Domain Name Restriction” for the website on the “Directory Security” tab, but if there is no Other needs generally use the default configuration.

Second, IIS backup and porting

In order to prevent system damage on the IIS configuration, we can use the local computer right-click menu "any task → backup /restore configuration" To back up IIS, but this operation can't be used if you are reinstalling a web server or porting a web server to another web server. We can use the IIS backup wizard to implement IIS backup and porting. .

Starting the software, the various sites configured on the IIS server will be listed on the IIS backup wizard's site list. Check the site you want to back up and click the “Export Site” button. The pop-up "Export IIS Site" window selects the document save path, and "OK", the site configuration information will be saved as a TXT text file.

When reinstalling the IIS server, you need to import the site information, run the IIS backup wizard, click the "Import site" button, and select the pre-backup to be imported on the pop-up "IIS import site" window. The IIS site information document, & ldquo; OK & rdquo; can be imported. If you need to transplant the IIS site information, you should first copy the backup site information file to the destination machine, then download and install the IIS backup wizard on this machine, and execute the "Import Site" operation.

Copyright © Windows knowledge All Rights Reserved