HOW A REQUEST ORGINATES FROM CLIENT AND REACHES THE SERVER?

REQUEST FROM CLIENT TO SERVER

A client is the end user(us) who generates a command or request which is in human readable language .. then it is converted into machine readable language that is in domain network system DNS. 
 
DNS changes the request into the IP address where it is present in the server. So, then it searches and sends the request to the right server where the information is present and fetches it out to the user. 

The information reaches DNS in the form of IP address later, it changes to human readable language which we see in our browser.  

client <---------> DNS <--------->server



EXAMPLE:
                 
REQUEST : www.google.com
the DNS then searches and changes it into its IP address 

www.google.com --> 126.xxx.xxx.0


the request is generated with either http/https protocol for safer fetching of details.

 which involves the source IP and destination IP .

once the IP is converted the DNS with the use of protocols.. the fragmentation into packets is generated and routers make it to move correctly without any data lose into the internet.. 

the internet takes these packets and sends to the correct server to fetch the information and the same way back it reaches the user .

THE FLOW IS :

User --> DNS --> IP --> Router --> Internet --> Server
Server --> Response --> Internet --> Router --> User --> Browser displays page

Comments

Popular posts from this blog

THE DELIVERY MAN

EC2 LAUNCHING

SORT A LINKED LIST USING MERGE SORT