Adarsh Gupta⚑
Adarsh Gupta⚑

@Adarsh____gupta

10 Tweets Dec 06, 2022
There are ~2,000,000,000 websites available there on the internet.
Type & Search these numbers and see the MAGIC!😲
157.240.3.35 β†’ Facebook
142.251.211.228 β†’ Google
But How does a Web browser works?πŸ€·πŸ»β€β™‚οΈ
Detailed thread🧡 for Web DevelopersπŸ‘‡πŸ»
Web Browsers are like the Portal to the Next Dimension:
You can:
1) Get Resources
2) Access a webserver
3) Send a Request
4) Interact with it
Let's Break everything DOWN:
How does typing a URL take us to a Webpage?
βœ“ The Website is Stored on a Server (Static or Dynamic). You will get something in response.
βœ“ since our Web Browsers are User Interface to show us stuff and in the Background, it is much more Complex
Every Server where a website is stored has a unique Number called IP address, which is used to distinguish the server
βœ“ Just in the top-most Example, you can use the IP address to reach out to a server
βœ“ So What about the domain names like Twitter .com or Facebook .com?
βœ‡ There is another Kind of Server called the Name server ie DNS
βœ‡ What the DNS server does is that they convert or translate our domain name to an IP address
βœ‡ That's how when you search for a complete URL the DNS converts it into its IP
πŸ‘£ Now if we are trying to get resources inside something
If we just go here "/" , we will be at the homepage
But if we go for "/blogs/some blogs", we will be going inside the server. Think of it as a folder and we are doing different files in that
βœ“ So In simple words, our Web browsers asks for the IP of the Website we need and the DNS server gives the IP back if there is one.
βœ“ When the Browser Gets an IP, Our browser will send an HTTP request to the server and the Server responds with a response for that request
And Tada... you got your Website Up and Running
There are some more things behind the Scene. But they are out of this topic.
Follow @adarsh____gupta for Part 2
Now You Know:
HOW THE WEB WORKS AS A WEB DEVELOPERπŸ™ŒπŸ»
β˜… RETWEET and LIKE this post, as it is the best way to support me
Hey I'm Adarsh I post content on
✭ Web development
✭ JavaScript
✭ ReactJS
✭ ThreeJS
Follow @adarsh____gupta for more

Loading suggestions...