On the most basic level, the Web is made up of the following elements:
📌Your personal computer: is the computer on which you surf the internet.
📌A web browser: is software that is installed on your computer and allows you to browse the Internet.
📌An internet connection: is a service that connects you to the internet and allows you to access any website. It is offered by an ISP.
📌The computer: on which a website is housed is referred to as a Web server.
📌Routers and switches: are a software and hardware combination that receives your request and forwards it to the proper Web server.
The Web is known as a client-server system. Your computer is the client and the remote computers that store electronic files are the servers.
How the Web Works
📌When you enter something like anonime.xyz the request goes to one of many special computers on the Internet known as Domain Name Servers (DNS). All these requests are routed through various routers and switches. The domain name servers keep tables of machine names and their IP addresses, so when you type in anonime.xyz it gets translated into a number, which identifies the computers that serve the Website to you.
📌When you want to view any page on the Web, you must initiate the activity by requesting a page using your browser. The browser asks a domain name server to translate the domain name you requested into an IP address. The browser then sends a request to that server for the page you want, using a standard called Hypertext Transfer Protocol or HTTP.
📌The server should constantly be connected to the Internet, ready to serve pages to visitors. When it receives a request, it looks for the requested document and returns it to the Web browser. When a request is made, the server usually logs the client's IP address, the document requested, and the date and time it was requested. This information varies server to server.
📌An average Web page actually requires the Web browser to request more than one file from the Web server and not just the HTML / XHTML page, but also any images, style sheets, and other resources used in the web page. Each of these files including the main page needs a URL to identify each item. Then each item is sent by the Web server to the Web browser and Web browser collects all this information and displays them in the form of Web page.
In Short We have seen how a Web client - server interaction happens. We can summarize these steps as follows :
📌A user enters a URL into a browser (for example, anonime.xyz. This request is passed to a domain name server.
📌The domain name server returns an IP address for the server that hosts the Website (for example, 68.178.157.132).
📌The browser requests the page from the Web server using the IP address specified by the domain name server.
📌The Web server returns the page to the IP address specified by the browser requesting the page. The page may also contain links to other files on the same server, such as images, which the browser will also request.
📌The browser collects all the information and displays to your computer in the form of Web page. Now you know how the web works😉. Thanks for your time.
Do you actually know what is more challenging than reading articles? Its writing the articles. Please share this article to your friends and programmer buddies. This is actually a general knowledge.