How URL works into Browser?

How URL works into Browser?

ยท

3 min read

It's the same as your Internet Service Provider's (ISP) Internet Provider Identity. For more information on our online provider profiles, see a user's service number (if applicable) and a web address information.

๐Ÿญ. ๐—ฌ๐—ผ๐˜‚ ๐˜๐˜†๐—ฝ๐—ฒ ๐—ต๐˜๐˜๐—ฝ๐˜€://example (dot) com / ๐—ฝ๐—ฎ๐—ด๐—ฒ ๐—ถ๐—ป ๐˜†๐—ผ๐˜‚๐—ฟ ๐—ฏ๐—ฟ๐—ผ๐˜„๐˜€๐—ฒ๐—ฟ ๐—ฎ๐—ป๐—ฑ ๐—ฝ๐—ฟ๐—ฒ๐˜€๐˜€ ๐—˜๐—ป๐˜๐—ฒ๐—ฟ

Here, https:// is a scheme, which tells the browser to make a connection to the server using TLS. example (dot) com is the domain name of the site and it points to a specific IP address of a server. And /page is a path to the resource you need.

๐Ÿฎ. ๐—•๐—ฟ๐—ผ๐˜„๐˜€๐—ฒ๐—ฟ ๐—น๐—ผ๐—ผ๐—ธ๐˜€ ๐˜‚๐—ฝ ๐—œ๐—ฃ ๐—ฎ๐—ฑ๐—ฑ๐—ฟ๐—ฒ๐˜€๐˜€ ๐—ณ๐—ผ๐—ฟ ๐˜๐—ต๐—ฒ ๐—ฑ๐—ผ๐—บ๐—ฎ๐—ถ๐—ป

After youโ€™ve typed the URL into your browser and pressed enter, the browser needs to figure out which server on the Internet to connect to. It must look for the IP address of the server hosting the website using the domain you typed to accomplish that. DNS lookup is used to do this. Here, it determines whether we can locate it in the cache; if not, DNS must search domain name servers from the root to the third level.

๐Ÿฏ. ๐—•๐—ฟ๐—ผ๐˜„๐˜€๐—ฒ๐—ฟ ๐—ถ๐—ป๐—ถ๐˜๐—ถ๐—ฎ๐˜๐—ฒ๐˜€ ๐—ง๐—–๐—ฃ ๐—ฐ๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜๐—ถ๐—ผ๐—ป ๐˜„๐—ถ๐˜๐—ต ๐˜๐—ต๐—ฒ ๐˜€๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ

Transmission control protocol, more formally known as TCP, is used throughout the public Internet routing infrastructure to route packets from a client browser request through the router, the Internet service provider, through an internet exchange to switch ISPs or networks, and finally to find the server with the IP address to connect to. This is an inefficient route to take to get there. Instead, a lot of websites employ a CDN to cache both static and dynamic material closer to the browser.

๐Ÿฐ. ๐—•๐—ฟ๐—ผ๐˜„๐˜€๐—ฒ๐—ฟ ๐˜€๐—ฒ๐—ป๐—ฑ๐˜€ ๐˜๐—ต๐—ฒ ๐—›๐—ง๐—ง๐—ฃ ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ฒ๐˜€๐˜ ๐˜๐—ผ ๐˜๐—ต๐—ฒ ๐˜€๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ

Now that the browser is connected to the server, it complies with the HTTP(s) protocol's requirements for communication. To request the contents of the page, the browser first sends an HTTP request to the server. The body, headers, and request line of an HTTP request are all present. The server can determine what the client wants to do using the information in the request line.

๐Ÿฑ. ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€๐—ฒ๐˜€ ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ฒ๐˜€๐˜ ๐—ฎ๐—ป๐—ฑ ๐˜€๐—ฒ๐—ป๐—ฑ๐˜€ ๐—ฏ๐—ฎ๐—ฐ๐—ธ ๐—ฎ ๐—ฟ๐—ฒ๐˜€๐—ฝ๐—ผ๐—ป๐˜€๐—ฒ

The server accepts the request and determines how to handle it depending on the data in the request line, headers, and body. The server receives the material at this URL for the GET /page/ HTTP/1.1 requests, builds the response, and then delivers it back to the client with an HTTP status code.

๐Ÿฒ. ๐—•๐—ฟ๐—ผ๐˜„๐˜€๐—ฒ๐—ฟ ๐—ฟ๐—ฒ๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€ ๐˜๐—ต๐—ฒ ๐—ฐ๐—ผ๐—ป๐˜๐—ฒ๐—ป๐˜

The browser examines the response headers for instructions on how to render the resource after receiving the server's response. The Content-Type header informs the browser that an HTML resource was received in the response body.

Source: Google and Linkedin

ย