Virtual Host
The advantages of a virtual host in building a Web site are obvious. This article is to give you a specific introduction to the virtual host application, use and maintenance of knowledge, if you are building a website do not know where to start and worry, then the introduction of this article to apply for the construction of a virtual host it.
One, what is a virtual host?
What are the advantages of using a virtual host?
(i) background generated by a virtual host
We know that the Internet is a global network that connects various types of computers and computer networks across the globe, connecting countless computers on the Internet, regardless of the models, operating systems , and software, Can be summed up in two broad categories: the client and the server. Where the client is access to the server to obtain information on the machine, it does not have a fixed IP address, only when it through the telephone or ADSL dial-up access to the temporary allocation of an IP address, and when we disconnected, the computer out of the Internet, while the IP address is also retracted While the server is a machine that provides information for others to access, often called a host. Because people can access it at any time, as a host must be connected to the Internet every moment, with its own permanent IP address. To this end, not only to purchase special computer hardware, but also to rent expensive data lines, plus a variety of maintenance costs such as rent, labor, electricity and so on, for the establishment of the station is also a small amount of expenditure. So, people developed the virtual host technology.
(ii) What is a virtual host
The so-called virtual Host/virtual server, also known as virtual servers or shared servers, refers to the use of special hardware and software technology, a server running on the Internet into a "virtual" host, so that multiple users share a server, To reduce the cost and maintenance costs of the construction station. At the same time, each virtual host has a separate domain name or IP address, with a complete Internet server (WWW, FTP, e-mail, etc.) function. Not only that, the virtual host between completely independent, mutual interference, users can manage their own virtual host, in the outside world, each virtual host is the same as a stand-alone host performance exactly the same.
(iii) Advantages of the virtual host
1. Save investment. The use of "virtual host" technology allows users to save a large amount of unnecessary expenses, including the acquisition of servers, leased lines and other hardware equipment and the arrangement of professional system managers, such as a wide range of costs.
2. Save maintenance cost. By using the "virtual host", you can save maintenance costs, a 64K line in the domestic most basic cost of thousands of dollars per month, at the same time because many areas of the domestic two-way billing method, the site's access to the higher, users have to pay more, and the cost of virtual servers in general only hundreds of yuan a year.
3. Can obtain the professional maintenance without the maintenance personnel and the expensive power system. Professional network system providers often spend a lot of money on building back-up power systems to cope with power failures, and have a professional maintenance staff, which is an unnecessary expense for ordinary enterprises.
4. Have a more stable performance. Ordinary enterprise-level Web sites are often accessed only by one ISP, and if the supplier fails, the user will be affected. The use of leasing "virtual host" program can often rely on the service provider's multiple routes to obtain stable performance, because most of the virtual host service providers rely on more than one backbone network, can ensure that the system can not be affected by a certain supplier.
second, choose their own virtual host
At present, the free virtual host has been very little, and the stability is not as good as a paid host, so we recommend that you buy a paid virtual host under the premise of economic license.
Tips: You can go to table 1 of several web sites to apply for free virtual host, free "pie" although not so delicious, but you can taste.
Now for everyone to choose the virtual host is very many, each has its own unique, how do we choose the most suitable for their own virtual host? First of all, to identify their own virtual host function requirements: such as their own web pages include database support, whether the need for space support asp/cgi programs. Generally speaking, the more dynamic language projects are supported, the higher the fees, the lower the cost of pure HTML. Second, the use of the first trial after the way of payment. In this way we will be able to the service provider space stability and technical services and other aspects of understanding, satisfied with the purchase. Finally, compare, consult a number of service providers. Reference prices for paid virtual host providers and virtual hosts are shown in table 2, table 3.
third, the actual Combat Virtual Host page upload, update and maintenance
After applying for or purchasing a virtual host, we can upload our own web page to the corresponding host server.
Below we take cuteftp ProV3.2 build 7.01.1 as an example to introduce the Web page upload, update and maintenance.
(i) Create a virtual host FTP site
Run CuteFTP Pro, click: "file → new →ftp site" (or click "CTRL + N"), and then in the corresponding "Site Properties" dialog box, set the following options (see Figure 1):
1. Tags: that is to create a new FTP site easy to remember the name. such as "Literature Corridor" (you can set according to their preferences), so that the next time we enter the CuteFTP, the direct selection of "literature corridor" can be connected to the server.
2. Host Address: Is the input to connect the FTP server host name, here is to fill out their own application of the virtual host address. This example is: 61.151.252.226, note that before the host name is not with "http://" and "ftp://".
Small tip: Here's the virtual host FTP server is the successful application of the virtual host after the FTP IP address prompts.
3. User name and password. Enter the username and password you used for your application. The rest can take the default setting.
After setting the above options, click the OK button and the site link automatically appears in the site manager on the left side of the CuteFTP software.
(b) Uploading local web pages
1. Connect to the virtual host server. First in CuteFTP, double-click the name of the FTP site we just created (or click "file → connect → connect") to connect to our virtual host server, and then connect to the server, We will see a Windows File Manager very similar to the CuteFTP window (Figure 2), where the left window is a native file, the right side is the server's file, the World Wide Web network of virtual host server defaults to three folders, is the database (storage folder), Logofile (log folder, system automatically generated without manual addition), and Wwwroot (Web folder).
2. Open the folder of the Web page in the Left Local folder window, such as WXCL, select all the pages to upload, click the right mouse button, select "Upload" Can (of course, use the mouse drag operation can also).
(iii) Renewal and maintenance of the website
The daily update and maintenance of the website are divided into two kinds of situations. One is the update of dynamic Web pages, if the purchase of support for ASP or CGI space, and the home page with an automatic update of the news update system or graphics system, you can use the program's background files to update the other is the static Web page updates, For this page file update and file upload operation is exactly the same, that is to update the Web page uploaded to the virtual host.
Iv. Some supplementary
1. Not only cheap, technical services are also critical. Cheap and no good goods are also applicable to the virtual host server.
2. Be aware of the limitations of the virtual host when purchasing, so that some of the features you need to use are disabled after purchase.
3. Pay attention to whether there is a flow limit, so as to avoid access to the site once the increase in traffic.