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
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
β 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?
β 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
β 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
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
β 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
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
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...