Skip to main content

How the Internet Actually Works

Day 1 of Backend Series

Published 4 min readMarkdown

History of Web (Web 1.0 to Web 3.0)

Web 1.0 (The Static Web):
This was the first generation of the internet, popular from the early 1990s to early 2000s. Web 1.0 consisted mostly of static websites with fixed content. Users could only read information but had very limited interaction. Websites were simple, text-heavy, and used HTML to display data. There was no user-generated content or social media.

Web 2.0 (The Social Web):
From the mid-2000s, Web 2.0 introduced dynamic content and interactivity. Users could now create, share, and collaborate through social media, blogs, and wikis. Technologies like AJAX allowed websites to update without reloading, enhancing user experience. This era emphasized user participation, community, and collaboration, with giants like Facebook, YouTube, and Twitter emerging.

Web 3.0 (The Semantic & Decentralized Web):
Web 3.0 is the upcoming phase focused on smarter, more personalized internet experiences. It aims to use AI, blockchain, and decentralized networks to give users control over their data. Web 3.0 will enable seamless machine understanding of data, better privacy, and new economic models through cryptocurrencies and NFTs.

How computer communicate with each other

Computers communicate with each other through a process called networking

Steps to Communicate with other computers in the world:

  1. Data Preparation: When one computer wants to send information, it breaks the data into small pieces called packets.

  2. Addressing: Each computer has a unique address called an IP (Internet Protocol) address. This address helps identify the sender and receiver computers on the network.

  3. Transmission: These data packets travel through physical or wireless connections like cables, Wi-Fi, or Bluetooth. They move from one device to another using routers, switches, and servers.

  4. Protocols: Computers follow specific rules called protocols (like TCP/IP) to ensure data is sent and received correctly. TCP (Transmission Control Protocol) ensures packets arrive intact, while IP handles addressing and routing.

  5. Reassembly: The receiving computer collects all packets and reassembles them into the original message.

  6. Acknowledgment: The receiver sends a confirmation back to the sender to confirm that the data was received.

How computer send data all over the world

When a computer sends data globally, it uses the internet — a vast network connecting millions of devices worldwide.

  1. Data is Broken into Packets: Large files or messages are divided into small chunks called packets to make sending easier and faster.

  2. Addressing with IP: Each packet contains the sender’s and receiver’s IP addresses, which act like digital home addresses.

  3. Routing: Packets travel through multiple devices called routers. Routers decide the best path for packets to reach their destination quickly and efficiently.

  4. Undersea and Terrestrial Cables: To connect continents, data travels through undersea fiber-optic cables that run across oceans, as well as land cables and satellite links.

  5. Internet Service Providers: Internet Service Providers manage the data flow between your computer and the global internet, directing packets to the right places.

  6. Protocols Ensure Accuracy: Protocols like TCP/IP manage how data is sent, routed, and reassembled, ensuring packets arrive correctly and in order.

  7. Receiving and Reassembling: Once all packets reach the destination computer, they are put back together into the original data.

What is Domain Name, IP & MAC Addresses and Routing

Domain Name

A domain name is the easy-to-remember address you type in a web browser to visit a website, like google.com. Instead of remembering long numbers, domain names make it simple to find websites. The Domain Name System (DNS) translates these names into IP addresses so computers can understand where to send data.

Internet Protocol Address

An IP (Internet Protocol) address is a unique set of numbers assigned to every device connected to the internet. It’s like a home address for computers, telling data where to go. Example: 192.168.1.1 (IPv4) or 2001:0db8::1 (IPv6).

Media Access Control Address

A MAC (Media Access Control) address is a unique identifier assigned to a device’s network hardware (like your computer’s Wi-Fi card). It works at a lower level than IP addresses and helps devices communicate within the same local network. It looks like this: 00:1A:2B:3C:4D:5E.

Routing

Routing is the process of directing data packets between different networks. Routers are devices that decide the best path for data to travel from the sender to the receiver, often across multiple networks and countries. Routing ensures your data reaches the correct destination efficiently.

How ISP and DNS work together to deliver data

When you type a website address (like example.com) into your browser, two key players help get you there your Internet Service Provider and the Domain Name System.

  1. You Enter a Domain Name: You type a human-friendly domain name in your browser.

  2. DNS Translates the Domain: Your computer asks the DNS to translate the domain name into an IP address (the website’s actual location on the internet). DNS acts like a phonebook, matching names to numbers.

  3. DNS Response: The DNS server replies with the IP address of the website.

  4. ISP Connects You to the Internet: Your ISP uses that IP address to find the best path through the internet to the website’s server.

  5. Data Transfer Begins: Your ISP routes your request to the website, and the website sends back the data (like the web page) to you through the ISP’s network.

About the author

  • I am a Student of 7th semester of BS Computer Science. I am a Skilled Full Stack Developer with 2 Years of Experience.

No comments yet. Be the first to comment.