
How a Request Originates from Client and Reaches the Server
Each time we open a webpage, click a link, or use an application, a request is made from the client to a server. It happens within a matter of a few seconds. However, there is a complete process occurring behind the scenes. It is essential to comprehend this process while learning web development and networking. Client and Server The client is a device or application that makes a request. It can be a laptop or a mobile phone with a browser. Similarly, the server is a device or application that receives the request and provides the desired response. Step 1: User Action The process begins when a user enters a URL into the browser or clicks on a link. It is a command to the browser to ask for a specific resource from the internet. Step 2: DNS Resolution The browser does not directly understand domain names like www.google.com . Therefore, it uses a Domain Name System (DNS) to resolve the domain name into an IP address. It is essential to locate the correct server. Step 3: Establishing Con
Continue reading on Dev.to Tutorial
Opens in a new tab

