Have you ever wondered clicking links opens a website how ?

🌐 Have you ever wondered clicking links opens a website how ?

What is the Internet?

The internet is a very big network of computers, phones, servers, and many devices around the world so they can share information.

Example: It’s like a big library or market where you can read, watch videos, talk to people, or buy things from anywhere.

We all are connected through the internet like this diagram:

Internet Diagram

How it works?

The internet works by connecting your devices through cables, modems, and satellite signals to share information. When you request (search anything on a browser or open links), your request goes to the server, then the server sends you the data.

Example: Think of it like ordering pizza:

  1. You call the pizza shop (type a website or send a message).
  2. The shop gets your order (your request reaches the server).
  3. They make the pizza (the server processes your request).
  4. The delivery person brings it to your home (internet sends the information back to your device).

How does the browser go to the right website (like google.com)?

When we type google.com on a browser, it does not know where Google is. So the browser contacts the local DNS (Domain Name System) server. DNS returns the correct IP address of google.com.

Simple analogy: Just like a person can’t reach you with only your name, they need your address. The same way, browsers need the IP address of a domain to reach it.

DNS Lookup

DNS (Domain Name System)

  1. Your computer asks the local DNS server for the address.
  2. Local DNS server asks the root DNS server.
  3. Root DNS server directs to the Top-Level Domain (TLD) server.
  4. Local DNS contacts TLD server.
  5. TLD server responds with the authoritative DNS server.
  6. Local DNS contacts the authoritative server.
  7. Authoritative server responds with the IP address.
  8. Local DNS returns the IP address to your browser.

Simple Example:

It’s like asking for directions:

  1. Ask a local guide (local DNS server).
  2. They ask the main office (root server).
  3. Directed to the area (TLD server).
  4. Exact building (authoritative server) gives the address.

📬 Conclusion

Now you know how clicking a link sends your request all the way to the server and back. If you want a deeper breakdown of internal workings like TCP/IP, HTTP, or TLS — subscribe to my newsletter!

Built with love by Sujal Patel