Introduction to the simple relationship between the WEB server and the web Server
1. WEB: WEB pages that users can browse (HTML, CSS, and JS)
2. Servers
1. Hardware and Software
Hardware: A host
Software: a program that can receive requests and give responses
2. Functions
1. Store WEB Information (WEB pages, images, audios, and videos)
2. Ability to process user requests and give responses)
3. Execute a server-side program, such as querying a database
3. Relationship between WEB and Server
See figure-1
Python-> Django framework
4. The whole process of website requests
1. Enter the domain name, domain name resolution (Domain Name parser DNS)
2. Send an http request to the server
3. Transmission Layer TCP protocol, which is transmitted over the network and resolved through routing
4. The WEB server receives HTTP requests.
5. The server processes the request content and performs necessary data exchange
6. Send the corresponding content back to the client (response)
7. parse HTML using a browser
8. Display parsed content