notes
  • computer-networking
    • extend-wifi-with-router
    • how-the-internet-works
    • idk
    • networking-devices
    • osi-model
    • tcp-ip
    • Types of VPN
  • databases
    • Foreign Keys
    • Redis
    • simple-queries
  • devops
    • ansible
    • Manual deployment
    • docker
    • Workflow file
    • nginx
    • promethues-grafana
    • terraform
  • hardware
    • Power
  • home-server
    • proxmox-basics
    • proxmox-setup
    • storage
  • languages-frameworks
    • programming-paradigms
    • programming-languages
      • Regex Notes
      • c
        • basics
        • pointers-memory
      • cpp
        • basics
        • running-cpp
      • php
        • basics
        • choizez
        • frameworks
          • laravel
      • python
        • venv
        • concepts
          • Using lambda
        • frameworks
          • django
            • django
            • start
      • java
        • advanced
          • functional-programming
          • reactive-programming
        • concepts
          • how-java-works
          • serialization
          • sockets
          • threads
        • extra
          • collection-framework
          • generics-and-wildcards
          • Regular Expressions (Regex)
          • streams
        • frameworks
          • orm
        • fundamentals
          • OOP
          • conditionals
          • data-structures
          • data-types
          • exceptions
          • files
          • Functions (aka method)
          • Loops
          • packages
          • type-casting
      • javascript
        • frameworks
          • morgan
          • Using Sequelize with PostgreSQL in JavaScript
  • operating-system
    • basics
    • linux-directories
    • Basic Unix Terminal Commands
  • others
    • dark-web
    • piracy
  • system-design
    • system-design
  • web-dev
    • full-stack
  • books
    • sicp
      • Recursion thought process
      • 1
        • 1.1
        • 1.2
        • 1.3
      • 2
        • 2.1
  • certifications
    • aws-certified-cloud-practitioner
      • core-services
      • other-services
    • comptia-a+
      • Cloud
      • hardware
      • Important terms
      • Important terms
      • Troubleshooting
  • cloud
    • aws
      • aws-cli
      • aws-ec2-deployment
  • dsa
    • algorithms
      • back-tracking
      • bfs
      • Binary Search
      • bit-manipulation
      • Bubble sort
      • bucket-sort
      • counting-sort
      • dfs
      • Divide & Conquer
      • djikstras-algorithm
      • dynamic-programming
      • external-sorting
      • greedy-algorithm
      • Heap sort
      • Insertion sort
      • kadanes-algorithm
      • Merge sort
      • Permutation
      • quick-sort
      • Radix Sort
      • recurrence-relation
      • recursion
      • Selection sort
      • sliding-window
      • subset
      • time-space-complexity
      • topological-sort
      • tree-traversals
      • Two Pointers Technique
    • data-structures
      • data-structures
  • security
    • authentication
      • What is JWT (JSON Web Token)?
    • software-architecture-design
      • design-patterns
Powered by GitBook
On this page
  • Terminology
  • How the internet works?
  • How a URL Request Works in Computer Networking
  1. computer-networking

how-the-internet-works

Previousextend-wifi-with-routerNextidk

Last updated 1 month ago

Terminology

Term
Description

Packet

A small unit of data that is transmitted over the internet.

Router

A device that directs packets of data between different networks.

IP Address

A unique identifier assigned to each device on a network, used to route data to the correct destination.

Domain Name

A human-readable name that is used to identify a website, such as google.com.

DNS

The Domain Name System is responsible for translating domain names into IP addresses.

URL

Uniform Resource Locator ,sometimes called a web address , eg. ‘https://cloudflare.com/learning/’ ,‘cloudflare.com’ is the domain name, while ‘https’ is the protocol and ‘/learning/’ is the path to a specific page on the website.

HTTP

The Hypertext Transfer Protocol is a TCP/IP based protocol used to transfer data between a client (such as a web browser) and a server (such as a website).

HTTPS

An encrypted version of HTTP that is used to provide secure communication between a client and server.

SSL/TLS

The Secure Sockets Layer and Transport Layer Security protocols are used to provide secure communication over the internet.

Ports

Used to identify the application or service running on a device http://example.com:8080/path/to/resource (port is 8080)

How the internet works?

How a URL Request Works in Computer Networking

  • When I enter 'google.com' into my browser, my ISP (Internet Service Provider) helps me obtain the IP address through the DNS resolution process.

  • The DNS resolution process maps the domain name to an IP address, allowing my computer to know where to send the request.

  • An HTTPS request is sent from my computer to the IP address. Before it leaves my house, the data passes through my home router.

  • My home router manages the local network and directs the request to the home modem.

  • The request, including request and response headers with additional information, is then transmitted from my home modem through my ISP using the TCP/IP model.

  • Once at the ISP, the request is routed through the internet backbone, which includes routers, switches, and fiber optic cables.

  • Eventually, the request reaches Google's servers.

  • Google's servers return an HTTPS-encrypted web server response (a secure communication through SSL/TLS encryption used for authentication and secure data transmission).

  • The response follows the reverse path, passing through routers, switches, and eventually reaching my home modem and router, and then my computer, to be displayed in the browser.

This process highlights the role of the home modem and router in directing local network traffic and the subsequent journey through the internet to access a website.

Untitled