How do I configure an IIS server?

Source: Internet
Author: User
Tags anonymous ftp ftp site iis time limit

The rapid development of the network to make broadband into ordinary people's home, the vast number of network enthusiasts have the courage to try to build their own web site on their own machines, then choose what system? Win 2000 is riddled with holes, and win 2003 is specifically designed for servers that are not suitable for ordinary home use, while Linux or UNIX systems are rarely used in peacetime. Now I'll show you how to use IIS to structure your Web site in an XP environment.

The use of Windows XP components can meet the requirements of the site, and security performance is good.

  Installing IIS

In the Windows XP Professional Edition, IIS is not installed by default, but as an optional component, now we want to set up a site, you can choose to install it, the way is simple, put the XP CD, and then run the CD, in the running interface to choose to add components, Alternatively, open the Control Panel and open the Add or remove files and select Add Windows Components. In the pop-up dialog box, select Internet Information Services (IIS). Then click OK to install it. Alternatively, in Control Panel, select Add or Remove Programs and select Add or remove Windows components in the pop-up window to select Internet Information Services (IIS). Complete the installation process, very simple.

  Set up a Web site

In Control Panel, open Administrative Tools--> Internet Information Services, as shown in the following illustration:

You may have seen the "Default Web Site" option in the above image, you can either modify the default Web site for your new site, or rename a new Web site by clicking the right mouse button on the "Default Web site" and then typing in the name you want, and you can modify it yourself at your own discretion. For example, it can be modified to "web teaching network."

Configuring the Web server in IIS

To successfully run the site, you have to configure IIS to right-click on the named site to select properties such as:

In the home directory of the above figure to define the source of the content of the page, set to E:/mysite, the local path can be set according to your needs, generally from a security point of view do not set in the system partition, you can re-establish a path in another partition.

The above image in the Web site option box can set the description of the site, specify the IP address, the time limit for the connection timeout, which can be set according to the actual needs, but in order to ensure the security of the computer network, we'd better set up a log record, so that we can very good observation, This is also a good network management should have the quality Ah! Click on the Properties button as shown below:

Correction: Log file directory in the above figure: E:mysite

Set log properties, general new log time set to hourly, the following can set the log file directory, set up a log of their own directory, do not recommend the default path.

Set the Documents tab: Make sure that the "Enable default Document" Item is selected, add the default document name you want, and adjust the search order accordingly. This effect is that, when only the domain name (or IP address) is entered in the browser, the system automatically looks for the file name specified in the list in the home directory in order (top to bottom), if the first one is found, the first is called, or the second and third ... If none of the file names in this list exists in the home directory, an error message appears that the file cannot be found. The following figure:

Start

  Web site

After the above settings can go to start ie, and then in the IE Address bar input: HTTP://11.11.11.188 return to everyone to observe, is not in IE show your site Ah! Hehe (Of course your program if there is no problem can be correctly displayed, if there are errors you have to modify AH!) Note: After this setting, other computers on your local area network can also access your Web page directly in the Address bar.

Of course, these are the most basic settings, you can also configure some of the performance and security settings, such as throttling bandwidth and which users can access this web page, etc., in fact, to build a relatively secure Web site is not enough, limited to space and the theme of this article is no longer described, Interested friends can refer to the relevant information.

 Setting up an FTP server

FTP is the short name of the file transport protocol, which makes it possible for clients connected to the server to transfer files between the server and the client. In addition to WWW services, FTP is one of the most widely used services. Here is an introduction to using IIS to establish an FTP server.

As already described in the WWW service, as with the WWW service, IIS defaults to a default FTP station, so you can modify the default FTP site to meet your needs.

Right-click on the default FTP site as shown:

Input description: Dream of the last century, set IP address: 192.168.1.12, the port defaults to 21, generally do not need to change.

Set up a connection, as with a Web server. Note Enable logging.

Then select the Home Directory dialog box as shown:

Basically, you can specify the access permissions for the directory by following the settings on the diagram above. Generally choose to read, you can also later specify access rights, so that the administrator specific write permissions, so that the general article has Read permission.

Modify the account information in the security account according to your own needs, as shown below:

Allow anonymous connection options must be filled in. Otherwise, users will need a username and password to access this site. Anonymous access is allowed in the default state. The user name is anonymous and the password is blank.

Define the information and maximum number of connections that users have when they visit the FTP site and exit the site, as shown in figure:

Of course, you can also according to their own needs and hobbies to set.

  Final Test:

In the run, open cmd, and then enter the FTP 192.168.1.12 (just set the IP address) carriage return, enter the username anonymous.

Then enter, ask for a password, because the password is empty, press ENTER can! (In the future for the security of the site, you can set up to prohibit anonymous access, and strengthen the password, here in order to test the convenience so set the anonymous user) if the same as the following image to congratulate you, FTP site configuration success, the rest is you enrich your own site content.

Of course, based on XP there are many other servers can be set up, but the most commonly used personal site is the two kinds of servers, so the other is no longer said, and finally remind, set up their own servers, must improve their network security awareness, otherwise the loss is not small.

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.