[IDC] Exhaustive: for you to explain the details of the virtual host

Source: Internet
Author: User
Tags format ftp iis net php database domain name registration access root directory
Virtual host, you can save a lot of equipment, personnel, technology, capital, time and other inputs, for the upcoming establishment of Internet Web site enterprises to provide a "cheap" solution. Currently, 80% of the world's corporate Web sites are using virtual hosts.
What is a virtual host
The so-called virtual host, is to run a server on the Internet into a number of "virtual" server, each virtual host has a separate domain name and complete Internet server (support WWW, FTP, e-mail, etc.) function. The different virtual hosts on a server are independent, and are managed by the user, in the view of the outside world, each virtual host and a separate host are exactly the same. However, a server host can only support a certain number of virtual hosts, when more than this number, users will feel a sharp decline in performance.

Therefore, in layman's terms, the virtual host technology is a (or a group) of server resources (system resources, network bandwidth, storage space, etc.) according to a certain proportion of the partition into a number of relatively independent "small host" technology. Each such "small host" in the function can realize www, FTP, mail and other basic Internet services, like using a stand-alone host.
Hardware conditions for Virtual hosts
Trial: A virtual Host service provider typically provides a few days of trial time before a user buys their service, and you can fully understand the performance of a virtual host for a few days, and choose a suitable "big family" for your own web pages and emails.
Speed: The use of telecommunications backbone lines, configured with about 100 users of the virtual host, its speed must be more than those using ADSL and other low-speed lines connected to the independent host much faster.
Stability: Of course, in addition to speed, we also need to pay attention to the stability of the network environment and security, such as whether the service provider used Cisco, 3Com router to connect to the network, whether to buy a gateway firewall, whether there are dedicated 24 hours a day to monitor all kinds of attacks from the network ... Only the host service provider with the above conditions is the target we choose.
Some virtual host service providers casually find a low bandwidth of the line, and then scrape up some equipment, to find two people who know how to debug Windows2000 technicians, and then hastily launched to provide services. Even if the price is cheaper, we do not recommend the use.
Service stability stems from the infrastructure of the provider. Configuration of more high-end servers, equipped with redundant equipment, RAID cards, etc. to ensure that the power input stability of UPS, emergency generators, and maintain a constant temperature, humidity and other equipment. Of course, these hardware facilities are sometimes impossible to see with our own eyes. Therefore, before buying through a variety of ways (such as the service provider's website) to know more about the situation of the service provider is very important! After all, the enemy, to find the appropriate host!
How much space do you need
The type of hard disk space provided by the virtual host server is divided into independent web space, database space, independent post office space and so on. The size of the virtual host space depends largely on how much information is released. If your site contains 10 to 150 pages, each page of the relevant picture, more than 100 KB, then you lease 60MB space is almost. If the page is above hundreds of pages and needs to have database support, the corresponding space you need should be between 100MB and 200MB. The actual need for space when the gap can be added to the service provider to increase the size of the space; if the initial purchase of space is very large, can not be used so much, the retreat is not lost, is undoubtedly a waste of money.
Software conditions for Virtual hosts
Virtual host servers typically use Windows2000 (NT) and UNIX (Linux) server operating systems, both of which have their own strengths. Database space is divided into two categories: the Windows2000 platform's IIS 5.0/access database space and the Linux platform's mysql/php database space. However, the author is still more inclined to choose Unix (Linux), but for the frequent invocation of various databases and the need for ASP Web page design of corporate users, you can only use the WINDOWS2000 Platform, UNIX system support PHP.
Location and Price
The location of the server is also the purchase must be carefully considered. If the site's information coverage is abroad, the leased virtual server in the United States is the best choice, because the United States has the largest network bandwidth, if the scope of advocacy is mainly in the country, it is the best to rent the server in the domestic telecommunications node. We are very sensitive to the price. Some telecom service providers will be relatively high prices, but now with the rise of many virtual hosting services, virtual host prices are now much lower.
Service
such as "Cannot create e-mail", "Home cannot access" and so on common after-sale problems, probably many have a virtual host friend often encounter. Some service providers will be sold in the first place, after-sales service is not very perfect, such as only the home page to do the mailbox settings method, FTP settings and technical issues "email" link is done. The advertised service hotline is the local telephone service provider, if the foreign friends encounter problems to make long-distance pay the bill. With local after-sales service support, the national free 800 after-sales phone support company, no doubt let us in the purchase before a lot of rest assured. Before purchase can be installed as a customer to ask some questions, pay attention to the service provider quality and attitude, excellent after-sales service virtual host in the future will be easier to use.



How to select a virtual host?
At present, the Web server's operating platform uses the most open Apache, followed by Microsoft's Windowsiis. Apache has the advantages of Cross-platform (Freebsd/linux/allwindows/solaris/other UNIX), ease of maintenance, and best security. Microsoft's Windowsiis second.
The biggest difference between using Apache and Window s IIS is that PHP or ASP (. net) is used as a web development language, PHP is generally not in windowsiis, whereas ASP (. net) is not available on Apache. Both can be linked to different background databases.
• Website operating system recommendations:
Apache+php is suitable for any operating system, but generally due to system security and cost savings, most users will choose to install in FreeBSD or Linux,freebsd known as Internet Server, the most secure, most stable and other advantages, Linux has good software support and other advantages.
Windowsiis+asp only supports Microsoft's windows2000/windows2003 server, Microsoft WINDOWS2003 Server offers a cheaper web Edition dedicated license and features limited to Web server use.
• Inductive recommendations:
Using Apache (PHP), it is recommended to install in FreeBSD, followed by Linux. With Windowsiis, it is recommended that you install the Windows2003 server Web Edition.
• Hardware recommendations for Web server:
The hardware configuration of the Web server is fast and simple, and does not require too much hard disk space or disk fault-tolerant design. Generally speaking, the Pentium-4 CPU + 1GB memory plus a SCSI hard drive is sufficient to cope with the daily traffic operation, it is recommended to use a High-performance network card.
• Web server Backup design:
Apache + freebsd/linux. UNIX operating systems are known for easy maintenance, and this type of operating system only writes a batch file to perform the copying of the Apache profile and the content of the Web page, then the package is compressed into a file, then the file is transferred to the remote backup server backup. In the case of a disaster recovery, it takes only half an hour to reinstall the operating system, and then restore the compressed file back to operation.
Windowsiis. It is recommended that you use a general Windows Backup design to perform a full system backup on a regular basis. Disaster recovery will take a long time.
About the database Web site?
Simply put, if you want to provide features such as membership management, online ordering, composite queries, dynamic publishing, and so on, you will need to purchase a virtual host that provides database support. We advise you to communicate with your website design and developers when you are uncertain, and they will give you relevant suggestions. or directly to the network information consulting.
How to continuously transfer to the website?
Because of different domain name registration agencies and different agencies in the domain name into the transfer, the program is different, so the service please directly with the Network Information Technology Development Co., Ltd. contact.
How do I upload my web page?
Upload your Web pages through professional FTP software. Professional FTP software usually has support for the continuation of breakpoints, download or upload the entire directory without being idle for too long by the platform kicked out, you can upload or download queues, local and remote directory comparisons, modify file properties, display hidden files and other functions.
This kind of software has many, the most commonly used have cuteftp, leapftp, FLASHFXP and so on.
No matter which professional FTP software is used, the basic settings are the same for the first time, and the parameters of these settings come from your service provider.
Web page file naming rules
The names of folders, pictures, and Web files are best used in lowercase letters and numbers, not in Chinese or other words.
When uploading a picture of a database product or news, do not use the same name, such as a product has large pictures and small pictures, the same name may lead to the image after the spread of the picture, preferably the picture named have a certain logical rules, and the rules to write down, For example: A company B major category C products D type No. 006 products of the big picture named: Abcd006b.jpg.
• Web Image format:
Please use the. jpg or. gif format, the suffix preferably using lowercase english letters, similar. GIF;. The uppercase and lowercase letters of JPG are named by servers that are not supported.
• Homepage file rules:
A) Linux System: Home page defaults to: index.htm,index.html,default.htm,index.php; Please upload all documents of the website to the "www" directory, the homepage must be uploaded to the "www" root directory, can not be transferred to similar "www/ Main "in the directory.
(B) Windows system: Homepage defaults to: index.htm,index.html,default.htm,index.asp; Please upload all files of the site to the root directory, the homepage must be uploaded to the root directory.



  

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.