<A href = 'HTTP: // ad.cbinews.com/phpadsnew/adclick.php? N = af763eba 'target = '_ blank'> </a> |
| |
<A href = 'HTTP: // ad.cbinews.com/phpadsnew/adclick.php? N = a33295bd 'target = '_ blank'> </a> |
With the popularization of the Internet, more and more families can access the Internet conveniently. There are various ways to access the Internet, such as modem dialing, ISDN, ADSL, and residential broadband. The content on the Internet is wonderful. Do you want to build a personal website and share your wonderful life with your friends? Do you want to share your latest information? If you want to establish a home on the Internet and want to build a cool and wonderful personal website, let's start building a Web/FTP server together with me!
I. Preparations
1. Introduction to Internet access:
I use the Internet: ADSL + router, the product used here is TD-8800 + TL-R480T. There is a Win2000 Server in the LAN, which is used to build a web/ftp server.
The structure is as follows)
ISP--ADSL -- router (TD-8800) -- server (Win2000 Server System, IP: 192.168.1.222 ).
The TL-R480T supports virtual servers that provide server setup, which can specify a specific host of the internal lan as a web, mail, FTP, and other types of servers. Ddns features built-in peanut shells and kemai clients. You can log on to these two websites to obtain free Domain Names. By setting the client on the vro, you can achieve dynamic domain name conversion.
2, apply for free peanut shell Domain Name: Apply for free dynamic domain name site address: http://www.oray.net, http://www.comexe.cn. Log on to the official website of peanut shells to register a domain passport and apply for a free Domain Name For peanut shells. After registration, you must go to the peanut shell management center to activate the domain name. The dynamic domain name I applied for is http: // lurui?web.vicp.net.
2. configure a Broadband Router
In front of the official website has been in the peanut shell applied for dynamic domain name: http://luruihuaweb.vicp.net, in the internal network to establish web, FTP server, must open the corresponding port, define the WAN service port and LAN server ing relationship, next let's start setting up the TL-R480T.
1. Set the virtual server: Open the vro setting interface. In "virtual server", map port 21 and port 80 to the Intranet FTP server and web server respectively ,:
2. Change the remote Web Management port: Port 80 has been mapped to the Web server on the Intranet. You need to modify the remote Web Management port at this time ,:
3. Set ddns:
Through the above configuration, the basic configuration of the vro has been completed. Next, configure the server. 3. Using IIS to configure Web/FTP servers IIS is short for Internet Information Server and is an internet server software provided by Microsoft, including web, FTP, mail, and other servers. This article takes the Win2000 Server version as an example to introduce how to install and set up web and FTP servers. IIS is a component of the Windows operating system. If IIS is not installed when the operating system is installed, open "Control Panel"-> "add or delete programs"-> "Add/delete Windows Components"-> double-click "Internet Information Service"-> select "World Wide Web server ""installation. 1. Open "Control Panel"> "Administrative Tools"> "Internet Service Manager ":
Right-click the "Default web site" and select "properties". The default web site settings window is displayed:
"TCP port" is the Web server port and the default value is 80, which does not need to be changed. "Ip address" is the IP address bound to the Web server. The default value is "all unallocated". Do not change it. By default, the web server is bound to all IP addresses of the local machine, including dynamic IP addresses obtained from dial-up access. 2. Click "main directory" in the property window above ":
On the right side of the "local path", it is the website root directory, that is, the directory where website files are stored. The default path is "C:/inetpub/wwwroot ". If you want to store the website file elsewhere, you can modify this path. 3. Click "document" in the property window above ":
Set the default homepage document for the website here. When you enter an address (such as a http://luruihuaweb.vicp.net) in a browser to access IIS, IIS will find the default home page file under the root directory of the website, if found, open, "This page cannot be displayed" is displayed if it cannot be found ". Add the required default homepage file names here. After adding the names, you can use the up and down arrows on the left to sort the search order of these names. 4. Web server settings are complete. IIS can provide Web Services. If you have prepared a website, copy the website file to the website root directory, and confirm that the default homepage File Name of the website is already in the search list in the window above, then open IE, enter the http://luruihuaweb.vicp.net, the website is displayed. 5. FTP server: an FTP server is included in IIS. In "Administrative Tools" on the "control panel", start IIS and the FTP service on IIS. By default, the FTP server has been set up and can be logged on immediately, but there is no file in the FTP. Right-click the "Default FTP site" node in IIS and select the "properties" command to open the corresponding property Setting dialog box.
Click the "main directory" tab and fill in the shared file path to be set in the "local path" of the FTP site directory. By default, the folder here is located at "C:/inetpub/ftproot". If you want to change the shared directory temporarily, you can change it at any time, the file list displayed when others log on to the FTP server is in this directory. On the "home directory" tab, you can also set file access permissions for the FTP server, including read, write, and record access. For security reasons, the write permission here is generally not selected, so that anonymous users cannot operate on files at will. Set the logon user. To grant "anonymous" access permissions, select "Allow anonymous connection" in the "Security Account" option. In addition, you can select a special account for the FTP server from the user account (Control Panel> Management Tools> Computer Management> local users and groups) of the Windows2000 Server, you can also set your own user name and password. On the "message" tab, there are three input boxes: "Welcome", "exit", and "Maximum number of connections", which respectively indicate the prompt information provided by the FTP server when others log on or exit, this can be set based on your needs. The maximum number of connections is the maximum number of hosts connecting to the local FTP at the same time. On the "ftp site" tab, set the ftp id, including description, IP address, and port. In the "Description" text box, change "Default FTP site" to the FTP site name, generally, you do not need to change the default settings.
6. After accessing the FTP server and setting up the FTP server, enter ftp: // lurui1_web.vicp.net in the address bar of IE, you can see the directories and files in the path set in the "main directory" of IIS. So far, the establishment of the server is complete, as long as the Intranet server is always online, Internet users can easily access the server we set up. In addition to setting up servers through IIS that comes with windows, there are two common server software, the web server is Apache, And the FTP server is Serv-U; you can also configure the two software to build a web/ftp server.