Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Suppose you enter a URL of http://www.cs.camosun.bc.ca/~langs/funstuff.html in the browsers address bar. How does the browser find out where to look?

address bar browser enter http URL
0
Posted

Suppose you enter a URL of http://www.cs.camosun.bc.ca/~langs/funstuff.html in the browsers address bar. How does the browser find out where to look?

0

• The URL’s protocol is http which tells the browser what method to use to talk to the web server. • The web server is www.cs.camosun.bc.ca so the browser queries the DNS for the IP address. • The DNS will respond with 204.174.60.19 • The browser next makes a TCP connection to 204.174.60.19. The default port for web servers is port 80. • The browser then sends a message asking for the ~langs/funstuff.html file on the server • The server responds to this request and send back the file funstuff.html found in the folder public_html for the account langs • The TCP connection is closed. The “conversation” between the client and server has ended.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123