0

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).

4
Contributors
5
Replies
7
Views
8 Years
Discussion Span
Last Post by Lahlahliam
0

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.

0

thanks for the info, i know about the rendering i just want to know who handles the DNS requests

0

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.

0

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.

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.