The Gateway to Computer Science Excellence
+15 votes

Identify the correct order in which the following actions take place in an interaction between a web browser and a web server.

  1. The web browser requests a webpage using HTTP.
  2. The web browser establishes a TCP connection with the web server.
  3. The web server sends the requested webpage using HTTP.
  4. The web browser resolves the domain name using DNS.
  1. 4, 2, 1, 3
  2. 1, 2, 3, 4
  3. 4, 1, 2, 3
  4. 2, 4, 1, 3
in Web Technologies by Veteran (105k points) | 1.4k views

3 Answers

+11 votes
Best answer
The web browser first need to figure out IP address of site from url using DNS, then establishes a TCP connection, typically at port 80. Once the TCP connection is established, the browser sends a HTTP request using GET. Finally web server responds with HTTP response.
by Loyal (9.9k points)
selected by
Resolving domain name in to ip address using DNS also refferd as dns overhead

if here udp is also mentioned in the question,then do we have to use udp first?

because DNS uses udp at transport layer.   @Regina Phalange   

+9 votes
4 2 1 3
by Boss (11k points)
0 votes
Ans- A  4,21,3
by Junior (621 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,741 questions
57,251 answers
104,682 users