Easily set up Win2003 WEB server

  

Windows WWW server has won the favor of many people because of its convenient installation and simple operation. Below I will use Windows Server 2003 as an example to introduce how to configure a Web server. The network administrator who started is helpful.

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 "Internet Information Service (IIS) Manager" to enter the main interface of IIS Manager (as shown in the figure). It can be seen that IIS under Windows Server 2003 supports static websites by default. To execute the dynamic page, you also need to set 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.

Figure 1

1. Basic configuration of the website. In the "Default Web Site"; right-click menu, select “Properties> Enter the “Default Website Properties” window, and click on the "Description" on the "Website" tab. If the machine is assigned multiple IP addresses, select an IP address assigned to the Web site in the IP Address box; then go to the "Home Directory" tab to specify the source of the Web content of the website and in the "Documents" ” set the IIS default startup document. 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. The security configuration of the website. In order to ensure the security of the operation of the Web site and server, you can set the “Authentication and Access Control” and “IP Address and Domain Name Restrictions” settings for the website on the “Directory Security” tab, but if not Other requirements generally use the default settings.

Second, IIS backup and porting

In order to prevent system damage on the IIS configuration, we can choose to select the local computer right-click menu "all tasks → backup /restore configuration" To back up IIS, but this operation can not be used for re-installing 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. .

Start 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 file 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 file, & 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