Beijing website construction company Shangpin China (ihucc.com): I have written a little about the choice of space, so today I will talk about the basic knowledge of space in detail.When SEO newcomers select the host space, they mainly look at the following aspects of the space package. When they contact the host's own website type, pictures or words, users in the south or the north, and economic strength, they choose the appropriate virtual host space to build a site.
Flow
When a user enters www. * * *. com in the browser, it is equivalent to sending a request to the server.The server receives the user's request, downloads the page corresponding to www. * * *. com from the space to the browser, and the user can browse and read it.Downloading pages from space to the browser consumes traffic.The size of the added page is 1M, and a user request consumes 1M of traffic.Therefore, it is very necessary to compress the website page gzips, which can save a lot of traffic.If the website has a 3M MP3 file for users to download, each user will consume 3M traffic once.
Host space
Web space is the size of the host space you purchased, usually in M units.The contents of the web page are all stored in the space, including pictures, videos, music and other files of the page, as well as files of the website building program, such as style.css,. php. Its size will gradually decrease with use.For example, web space is the size of your phone's memory card.However, the contents in the host space are not allowed to be deleted, otherwise a large number of 404 pages will appear.
Rewrite
A static page is a page with the suffix. htm and. html. It is a real page.The URL of a dynamic page is usually long, with "?" in the middle.Statization is just to transform the original dynamic page into a pseudo static page.The advantage of static is that the address bar URL looks more standard, and the search engine can better grab the page, reducing the load of the server;The disadvantage is that the access speed is not as fast as that of dynamic pages. If it is domestic space, the difference is not too obvious.
htaccess
The htaccess file is a configuration file in the Apache server. Through the htaccess file, you can realize 301 redirection of web pages, customization of 404 pages, and allow or prohibit users to access some IP segments.This file is very important. It involves the preferred domain and 301 redirection. When purchasing space, you must consult customer service. If there is no htaccess file, can it be achieved through other ways.
Operating system
Windows 2003 series is based on a new technology ASPNET, which is used to create server side Web applicationsNET, for example, Visual BasicNET, C #, Jscript, etc.
BSD and LINUX are the most common operating systems of UNIX host series.Support PERL, PHP and other languages.The database uses MYSQL.Stability is one of the advantages of UNIX virtual host.
The difference between Linux and Windows 2003: If you choose Apache, you can set up a Web server on Linux/Unix/Windows 2003;If you choose IIS, you can only set up a Web server on Win2003.
Generally, if your website program uses ASP, it is recommended that you set up IIS server on Win2003.If your website program uses JSP/PHP, it is recommended that you set up Apache and Tomcat as web servers on Linux/Unix.
In terms of server stability, it is strongly recommended to use Linux/Unix, which is far more stable and robust than Windows.
IIS Concurrent Connection
The number of concurrent IIS connections refers to the number of concurrent IIS connections that first request the server at www. * * *. com/seoselected/610.html, and then request CSS, JS, pictures, etc. in the web page. Each request counts as an IIS concurrent number.It is the maximum number of responses at the same time, not the number of daily visits (ip) and daily visits (pv).
Take the 300M space 20 online as an example, the online 20 website can accept 20 downloads instantly.When the user opens your page without any click, it can be considered as an online page within 15 minutes.If a user keeps opening other pages, he will only be online within 15 minutes.If there is an Iframe in the page, one user will be counted as two online users.After the browser is normally closed, the number of online users will be cleared.
Cloud host
A virtual machine is a part of a group of cluster hosts that create multiple virtual independent hosts. Each host in the cluster has a mirror image of the virtual machine, which greatly improves the security and stability of the virtual machine. Unless all hosts in the cluster have problems, the virtual machine will not be accessible.
Features of virtual machine: high cost performance, monthly and annual payment, suitable for small and medium-sized websites;There is no difference between lines. There are many nodes in the country, and the speed is fast;High security performance, not easy to be attacked;Support multi-level backup and recovery;Quickly realize the expansion of host configuration.
Database
Access is a desktop level rdbms released by Microsoft. It is installed with Office and is suitable for providing database services for small software.
SQL Server is an RDBMS for locating services for medium and large enterprises. The current version is SQL Server 200020052008. SQL Server 2005 and SQL Server 2008 begin to focus on the field of large databases. How to distinguish between large, neutral and small databases depends on the amount of data processed.
Mysql is an open source database that can be used on multiple platforms.It's free.
Oracle, Sybase, and DB2 are large databases RDBMs that can efficiently handle large amounts of data.
Connection
Three line host: Telecom+Netcom+Railcom
Double line host: Telecom+Netcom
One way host: Telecom or Netcom
Most users in the north use Netcom, while most users in the south use Telecom. There is no choice of lines for overseas virtual hosts. This article was published by Beijing Website Construction Company Shangpin China//ihucc.com/