Home >Web Front-end >Front-end Q&A >What does web server mean?

What does web server mean?

(*-*)浩
(*-*)浩Original
2019-05-08 17:39:4231088browse

WEB server is also called WWW (WORLD WIDE WEB) server. Its main function is to provide online information browsing services. WWW is a multimedia information query tool on the Internet. It is a service that has only been developed on the Internet in recent years. It is also the fastest growing and currently the most widely used service. It is precisely because of the WWW tool that the Internet has developed rapidly in recent years and the number of users has grown rapidly.

What does web server mean?

#A web server is a program that can serve documents to a requesting browser.

1. The server is a passive program: the server will only respond to requests from browsers running on other computers on the Internet.

2. The most commonly used Web servers are Apache and Microsoft's Internet Information Services (IIS).

3. A server on the Internet is also called a Web server. It is a computer with an independent IP address on the Internet. It can provide various Internet services such as WWW, Email, and FTP to clients on the Internet.

4. Web server refers to a program that resides on a certain type of computer on the Internet. When a web browser (client) connects to the server and requests a file, the server will process the request and feed the file back to the browser. The accompanying information will tell the browser how to view the file (i.e. file type ). Servers use HTTP (Hypertext Transfer Protocol) to communicate with client browsers, which is why people often call them HTTP servers.

Web servers are not only capable of storing information, but they can also run scripts and programs based on information provided by users through their web browsers.

Protocol

The application layer uses the HTTP protocol.

HTML (an application under Standard Universal Markup Language) document format.

Browser Uniform Resource Locator (URL).

In order to solve this shortcoming of the HTTP protocol, another protocol needs to be used: Secure Sockets Layer Hypertext Transfer Protocol HTTPS. For the security of data transmission, HTTPS adds the SSL protocol to HTTP. SSL relies on certificates to verify the identity of the server and encrypt the communication between the browser and the server.

WWW is the abbreviation of World Wide Web (Global Information Network), which can also be referred to as Web. The Chinese name is "World Wide Web". It originated from the master-slave structure distributed hypermedia system developed by CERN (the European Laboratory for Particle Physics) in March 1989. Through the World Wide Web, people can quickly and easily obtain a wealth of information by using simple methods. Since users no longer need to worry about technical details when accessing information resources through a Web browser, and the interface is very friendly, the Web was warmly welcomed as soon as it was launched on the Internet, became popular all over the world, and quickly gained explosive popularity. develop.

Server Features

The three operating systems of Windows, Linux and Unix are the more common operating systems for setting up web servers. Linux has the highest security performance among these three operating systems, can support multiple hardware platforms, and its network functions are relatively powerful. In general, these two major advantages are irreplaceable by other operating systems: first, the source code of various programs can be modified, adjusted and copied at will according to the different needs of users and published on the Internet; second, the Linux operating system The market price is relatively cheap, and the source code can also be downloaded for free on the Internet. It can be said that Linux is an ideal operating system for setting up an efficient and secure Web server. In addition, in order to make the Web server have superior performance, further optimization and processing can be carried out according to the characteristics and uses of the server system, minimizing the amount of data transmission of the Web server and reducing the frequency of data transmission, thereby promoting the utilization of network broadband. and utilization rate, as well as improving the web page loading speed of the network client, and also reducing the consumption of various resources of the web server.

Working Principle

The working principle of the Web server is not complicated and can generally be divided into the following four steps: connection process, request process, response process and closing the connection. Below is a brief introduction to these four steps. The connection process is a connection established between the web server and its browser. To check whether the connection process is completed, the user can find and open the virtual file socket. The establishment of this file means that this step of the connection process has been successfully established. The request process is that the Web browser uses the socket file to make various requests to its server. The response process is to use the HTTP protocol to transmit the request made during the request process to the Web server, and then implement the task processing, and then use the HTTP protocol to transmit the results of the task processing to the Web browser, and at the same time, on the Web browser Display the requested interface above. Closing the connection is the process of disconnecting the web server and its browser after the previous step, the response process, is completed. The above four steps of the web server are interlocking, closely related, and have strong logic. They can support multiple processes, multiple threads, and technologies that mix multiple processes and multiple threads.

The above is the detailed content of What does web server mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:what is ajax callbackNext article:what is ajax callback