The document summarizes how the internet works by explaining key concepts like IP addresses, domain names, DNS servers, web servers, and the process of requesting a web page. It also provides examples to illustrate these concepts.
2. IP = 10.132.76.10 IP = 55.154.65.16 IP = 54.243.12.43 IP = 157.166.355.18 INTERNET Canada France Australia USA IP address www.apwebco.com IP address : a group of four numbers separated by ‘.’ that uniquely identifies a computer connected to the internet Two computers can connect with each other over the internet only if they know each others IP address
3. 157.166.255.18 www.cnn.com Domain name 905-555-6577 John Smith www.apwebco.com IP addresses are hard to memorize A domain name is a human friendly name mapped to an IP address Somewhat similar with telephony
4. Domain Name Server (DNS) www.cnn.com = 157.166.255.18 www.google.ca = 74.125.127.100 www.markhamtoastmasters.com = 74.125.127.100 www.theglobeandmail.com = 199.246.67.250 www.yahoo.ca = 199.246.67.250 ………………………… John Smith = 416-555-5555 Ryan Samuel= 905-555-1313 Peter Griffin= 905-555-3333 ………………………… www.apwebco.com A domain name server is a distributed database that contains all domain name - IP address mappings. It is somewhat similar with a Yellow Pages directory
5. Web Server IP = 157.166.255.18 index. html News. html Main_Story. html Fashion_News. html Business_News. html ……… .. www.cnn.com www.apwebco.com A web server is a computer that stores and serves web pages In their simplest form the web pages are HTML files stored on the web server’s hard disk
6. Requesting a Web Page What happens when the user types a domain name (e.g. cnn.com) in a browser and presses enter? The browser contacts the nearest DNS and asks for the IP address mapped to the domain name The DNS retrieves the record that contains the mapping and returns the IP address to the browser Upon receiving the IP address from DNS, the browser connects with the web server and requests a web page The web server returns the web page www.apwebco.com
7. DNS (Domain Name Server) Web Server hosting the site www.cnn.com www.google.ca = 74.125.127.100 www.cnn.com = 157.166.255.18 www.bbc.com = 74.125.127.100 ………………………… What is the IP address of www.cnn.com The IP address of www.cnn.com is 157.166.255.18 IP = 10.132.76.10 IP = 157.166.255.18 index.html News.html Politics.html Business.html ……… .. 157.166.255.18 please give me your main web page I am sending you my main web page (index.html) Requesting a Web Page Open browser and type www.cnn.com www.apwebco.com
8. Reserve a domain name Buy hosting space on a web server Map domain name to IP address of web server Build your website on your PC (create HTML files) Upload your website from PC to web server Steps in Setting up a Website www.apwebco.com