DEV Community

Cover image for How The Web Works?
Shuvradip Chakraborty
Shuvradip Chakraborty

Posted on

How The Web Works?

What actually happens between you typing Google.com and the website popping up in your computer if point A is your computer and point A is the web server hosting google.com everything in between is the cloud right actually yes and no
In between making a browser request and getting a response from the webserver, there are multiple pieces of software that is talking to each other mostly through a protocol known as HTTP( hypertext transfer protocol)
Let's go with the overview of how the web works and then dip type into each step individually
Any website that you visited started from a client making a request on the web at line can be anything a Laptop, Computer, Mobile, And Even An Application Also web browser, mobile apps, IoT devices and much more when a client types URL to the browser's address bar you are sending a request
To a server, the internet is a network of cables connected together using wires, routers, hubs and switches at many points all connecting the servers together coming to service there are multiple types of servers some of them are web servers mail servers and DNS servers the web service serves web sites, DNS service match DNS records and mail service send and receive emails
Sitting on the service are the files folders and media that all make up the webpage and connecting the media with the hardware is the software we refer to the software when we called it the web it is a software that works as a glue and serves as dynamic content slide games applications over the web and simple websites and you can access all of them in web browsers love you can pick from a plethora of web browsers there is Chrome, Firefox, Safari to name a few and also a lot of service's like games, applications, service, and products over the web stitching them all together is HTTP just like in the real world if two people wanted to talk but they have a different language background then they can use a common language like English the think of the HTTP English of the web now all HTTP request usually start with you typing a domain name like google.com
Coming to the server's part they however love to crunch numbers so they only work with IP addresses just like a phone number IP address point to a specific server on the web now the man in the middle who is converting your domain name to the IP address is known as a DNS service when you sent a request it takes the request find the respected IP address and send it a sealed envelope which contains details about the client to send it to send you back the Client who requested it now you got to see the website you wanted now when this is completed you got what you ask for and now the trip is over

Top comments (0)