This section shows the way the connection is created between the browser and the web server. The flowchart shows the process in some detail.
When we start the connection by entering the URL into a browser, the following things happen to create the connection:
- The browser checks for the presence of a proxy configuration (Manual or Proxy Auto-Configuration (PAC) file).
- If there is a proxy present, the browser simply submits its request to the proxy and the proxy, after checking its policy, also serves the website back by following through point-3 onwards.
- If the proxy is not present, then the browser requests for the DNS resolution to change the host name into the IP address:
- The local cache is checked for the IP.