What happened behind the scene when you type an url and request the browser for information

  • parse the URL by first, check the protocol (usually HTTP), and retrieve the main (index) page (from “/”)
  • the browser sends a request to a Domain Name Server
  • translate the domain name into an IP address (the domain name server response with the ip address of the website)
  • once the browser receives the IP address, opening of a socket (TCP socket) + TLS handshake (to establish the secure connection)
  • browser send a GET request to the IP address for the website’s content. (more info)
  • sending the requested content back to the browser
  • browser display content

Links to this note