Erecting web and FTP servers based on XP

Source: Internet
Author: User
Tags add anonymous define ftp ftp site iis net access
FTP Server |web The rapid development of the network to make broadband into ordinary people home, the vast number of network enthusiasts have the courage to try to build their own website on the love machine, then choose what system? Win 2000 porous, win 2003 and specifically for the server design, not very suitable for ordinary household, on the contrary WinXP is Microsoft after Win 98 most popular operating system, today I would like to introduce the XP environment in the use of IIS architecture of their own web site.

Many people use the 3rd party software in their own system to build a station, in fact, using the Win XP components can meet the requirements of the site, and security performance is good, why the use of the 3rd party software it?

Installation of IIS

In Windows XP Pro, IIS is not installed by default, but as an optional component, now we have to build the station, we can choose to install them, the method is very simple, put the XP CD, then run the CD, in the running interface, select Add components, or open Control Panel and open Add or delete files, Select Add Windows Component. In the pop-up dialog box, select Internet Information Services (IIS). Then click OK to install it.

The erection of Web sites

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 typing in the name you want, and you can change it at your own discretion. For example, I will revise it to "dream century Net".
IIS about the Web server configuration

In the home directory of the above figure to define the source of the content of the Web page, the default as shown above, 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.

As shown in the Web site option box can set the description of the site, the specified IP address, the time of the connection timeout, these can be set according to the hobby, focus on the log record, a good network management must develop the habit of constantly observing the log, only in this way can ensure the security of computer networks. Click on the properties of the log settings as shown below:

Set log Properties, the general new log time is set to hourly, the log file directory can be set, and the default path is not recommended.



Set document: 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:

If necessary, add a virtual directory: for example, there are "ip/dreams" such as the address, "Dreams" can be the "home directory" of the Next directory (called "Real Directory"), but also in any other directory, also known as the "virtual directory." To create a virtual directory under the Default Web site, select the "Dream century net → right → new → virtual directory", then enter "Dreams" at "Alias", and choose its actual path in the "directory" (e.g. "D:")

Start a Web site

The above settings, our site can be started, click on the right button on the site to start, and then in the browser to enter the URL just pointed, you can browse your own production of the Web page.

Of course these are the most basic settings, you can also configure some settings about performance and security, such as limiting bandwidth and which users can access this web page, and so on, in fact, to build a relatively secure Web site is far from enough, limited to space and the subject of this article is no longer a waste of breath, 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.