How a web browser retrieves a web page?

Reply

Join Date: Nov 2008
Posts: 5
Reputation: SteelSlasher is an unknown quantity at this point 
Solved Threads: 0
SteelSlasher SteelSlasher is offline Offline
Newbie Poster

How a web browser retrieves a web page?

 
0
  #1
Nov 3rd, 2008
Just a simple question how does a web browser retrieve a web page? I think that in some way the browser finds out the i.p. address the domain points to and send the request to that server asking for a specific file.

I am only asking this because i want to make a lightweight browser for the Wii since Opera has its limits and c++ is different to php where in php the network is setup for you but in c++ you have to setup the network first(well i think so).
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 563
Reputation: OlyComputers will become famous soon enough OlyComputers will become famous soon enough 
Solved Threads: 34
OlyComputers OlyComputers is offline Offline
Posting Pro

Re: How a web browser retrieves a web page?

 
0
  #2
Nov 3rd, 2008
Odds are that you're not going to be able to make a web browser from scratch if you have to ask these specific questions, but here's the info:

When you enter a domain name into a web browser the browser transmits that to your ISPs DNS server. Which works with the global DNS network to find that website. Once the DNS has been resolved it will connect to the web server by IP adress and download the files indicated, then render them into a viewable webpage by loading the primary HTML file and any content referenced (images or client-side includes) that needs to be downloaded from a different location and embedded.

That's the browser end of it, to my understanding.

On the hosting end a server directs traffic by port (HTTP being port 80). When a connection comes in on port 80 it directs it to the HTTP server and the appropriate location (www.example.com will go to /index.html [or whatever the default main page is], where example.com/support/contact.html will go to /support/contact.html.) The file at this location is then downloaded to your system and run in your browser.

I don't write software or specialize in DNS, I just configure PCs and servers. So I hope this information is all correct.
-This post is provided without warranty, emotion, or a conscience. Hope it helps-
*I'm an egomaniac: I love reputation points*
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 5
Reputation: SteelSlasher is an unknown quantity at this point 
Solved Threads: 0
SteelSlasher SteelSlasher is offline Offline
Newbie Poster

Re: How a web browser retrieves a web page?

 
0
  #3
Nov 4th, 2008
thanks for the info, i know about the rendering i just want to know who handles the DNS requests
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 563
Reputation: OlyComputers will become famous soon enough OlyComputers will become famous soon enough 
Solved Threads: 34
OlyComputers OlyComputers is offline Offline
Posting Pro

Re: How a web browser retrieves a web page?

 
0
  #4
Nov 4th, 2008
I'm 99% sure it sends it down the line to your ISP just as you type in (Adding the HTTP:// if you didn't) and then they translate it. DNS is a server side process.
-This post is provided without warranty, emotion, or a conscience. Hope it helps-
*I'm an egomaniac: I love reputation points*
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 56
Reputation: RLHennig is an unknown quantity at this point 
Solved Threads: 0
RLHennig RLHennig is offline Offline
Junior Poster in Training

Re: How a web browser retrieves a web page?

 
0
  #5
Nov 6th, 2008
Oly is correct. DNS servers are arranged in a hierarchy (sp) fashion. Your machine sends the request to your router/modem, then it gets forwarded on up the chain of connections to a DNS server. If the DNS server knows what the IP is for the requested domain, it will direct you to the appropriate server. If it doesn't know, it will forward the request higher up to the next DNS server, so on and so fourth.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 4
Reputation: Lahlahliam is an unknown quantity at this point 
Solved Threads: 0
Lahlahliam Lahlahliam is offline Offline
Newbie Poster

Re: How a web browser retrieves a web page?

 
0
  #6
Jan 5th, 2009
The web browser contacts the holding server though the internet and access the source with the webpage on receves the html and converts it to a IWP (interactive web page) and then the GWP (Graphical web page) sends it back on your ISP's data source finds your IP and then your ISP (internet service provider ) sends it to you.
that also determinds how fast it will get there depending on the speed of you ISP SPMT rate refering yours and then divide by 5 to give the speed MPH.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Domains and DNS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC