ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

How Computer Connects to Internet

Updated on May 13, 2014

Aside from the monthly internet bill and the router you got from your ISP, have you ever wondered how your computer connects to the internet? When you type in the address or in your web browser, do you have any clue on what’s happening in the background before the webpage actually displays on your computer? This article provides an easy to understand explanation on how computers connect to the World Wide Web.

world wide web
world wide web

DHCP server – is responsible for assigning IP address to your computer. There is no way you can communicate outside without an IP address. IP address is similar to your home address… it points other people to your location in a particular street, county, city, country, or continent so that they can reach you. This is the simplest analogy. There are other functions that DHCP performs but for simplicity, this is the only thing you should keep in mind.

DNS server – is responsible for name resolution. Computers communicate using IP address which is composed of segments of numbers like It is not easy for people to remember an IP address that’s why the has a corresponding name… The DNS server will be the one to resolve the to its corresponding IP address

Internet address works in a hierarchy. See an example of hierarchy below with which is resolved from left to right.

www – is the name of the web server from Google

google – is the name of the second-level domain

com – is the name of the top-level domain

It means that the company Google provided credit card and other information to .com top-level domain to be able to create The web server name “www” belongs to the domain “”. Some big organizations normally have several child domains like It means that the web server named “www” belongs to a child domain “buzzters” which belongs to a parent domain or second-level domain “blogspot” which belongs to top-level domain .com.

The .com top level domain is run by Network Solutions so if you need to create your own domain under .com, you need to contact Network Solutions. Other top-level domain includes .org, .net, .us (USA), .uk (United Kingdom), .ph (Philippines), or .ca (Canada).

There’s another domain where .com or .us or .ph gets permission to create its names… the “.” (dot) which is called the root domain. It is originally owned by US government but was moved to a non-profit group Internet Corporation for Assigned Names and Numbers or ICANN. This means that Network Solutions provided credit card and other information to ICANN to be able to create .com top-level domain. The root domain has 13 DNS servers that contain the IP addresses of the top-level domains.

One of the most important information that Google provided to Network Solutions when was created is the IP address of google. So .com knows the IP address of “google” and other second-level domains like yahoo or facebook. And google knows the IP address of the web server “www” in this case. So here’s what happens:

  1. When you type in the address in your web browser, your computer needs to resolve the name to IP address first before it can communicate with Google server and download the requested web page.
  2. So your computer needs to ask your DNS server for the IP address of the web server named “www”.
  3. Your DNS knows that the IP address of “www” can be found from “google” domain which is the second-level domain of “com” top-level domain which is a subdomain of the root domain (.) dot. This is not a dead end because every DNS server has a list of all the IP addresses of the 13 DNS servers of the root domains.
  4. Your computer now asks one of the DNS servers of the root domain for the IP address of the DNS server of the .com domain. The DNS server of the .com domain will then provide the IP address of “google” domain. Finally, the “google” domain’s DNS server can provide the IP address of the web server named “www”.
  5. When the IP address of the web server “www” from Google is determined, they can communicate directly and start downloading web pages as you request them.

All these happen in speed of light and you didn’t even notice the countless processes and protocols used just to be able to bring up the web page on your computer.

Join HubPages, where you can write about a topic you love — for free! Includes potential to earn royalties and commissions.


    0 of 8192 characters used
    Post Comment

    • profile image

      taha 5 years ago

      Finally I found the best solutions for my computer, interesting and valuable programms:

    • profile image

      James 7 years ago

      Great info, nice hub, thumbs up :)