The Internet is the largest network ever created by humans — a huge network of interconnected devices, servers, cables, and satellites.
Simple definition: The Internet is how computers and phones talk to each other.
When you search for something in a browser, your request travels through routers, ISPs, and servers, and the response returns in milliseconds.
The Internet is a global collection of networks that began in 1969 with four core hosts and has expanded massively since then. It belongs to no single entity.
Main components:
- Devices: phone, laptop, tablet, smart TV
- Modem & Router: modem receives internet from ISP → router distributes
- ISP: gateway to the internet
- Servers: store and deliver information
- Cables & Satellites: physical paths of the data
Example: opening YouTube
- You type
youtube.com - Your device asks DNS for the IP
- Modem sends request to ISP
- ISP connects to nearest YouTube server
- Server sends back the page
- Browser displays it
ISP = Internet Service Provider, the company that gives you internet access and routes your requests.
- Connects you to the internet
- Assigns an IP
- Relays your requests
- Provides DNS
- Controls speed and quality
- Provides hosting and email services
- Ensures network security
- Home ISPs: ADSL, fiber, 4G/5G
- Web Hosting Providers: data centers, servers, cloud
- Backbone ISPs: international providers of global internet
- Internet connection
- IP address (static or dynamic)
- DNS
- Routing
- Server hosting
- Email services
- Network security
- Traffic filtering
A server is a computer that is always on and provides services to other devices (clients).
Server = provides service
Client = receives service
- Receiving requests (HTTP/HTTPS)
- Processing logic (backend, database)
- Sending responses (HTML, CSS, JS, JSON)
Hosting is storage space on a server where your website’s files live so users can access the site.
- You have a domain
- Domain points to host’s IP
- User sends request
- Host sends files
- Browser displays site
- Many sites on one server
- Cheap, limited resources
- Virtual server
- More control, better performance
- Entire server for one user
- Expensive, powerful
- Distributed across servers
- Fast, scalable
- AWS, Google Cloud, Azure
- Optimized for WordPress
- Fully managed by provider
- Storage
- Bandwidth
- CPU & RAM
- Database support
- cPanel / DirectAdmin
- SSL
- Backups
A domain is a human-readable name like google.com that replaces numerical IP addresses.
- User enters domain
- DNS converts domain → IP
- Browser connects to server
- Name: example
- TLD: .com, .net
- TLDs (.com, .net…)
- Country domains (.ir, .uk…)
- Subdomains (blog.example.com)
- Easy access
- Branding
- Connect domain → host
An IP is a unique numerical address assigned to every device on the internet.
- Without IP, no connectivity
- Browser uses IP to reach server
- Ensures data reaches correct destination
- Example:
192.168.1.1 - Limited capacity
- Example:
2001:db8::8a2e - Huge address range
- Public: visible on internet
- Private: inside local network
- Static: fixed, good for servers
- Dynamic: changes, for home users
- User enters domain
- DNS finds IP
- Browser connects to server
- Site loads
DNS = Internet’s phone book
It converts domain names into server IP addresses.
Example:
google.com → 142.250.185.14
- Converts domain → IP
- Caching for faster loading
- Provides redundancy and stability
- User enters domain
- Browser asks DNS Resolver
- If not cached → goes to root
- Then TLD server (.com)
- Then authoritative DNS
- Returns IP → browser connects
- A: IPv4
- AAAA: IPv6
- CNAME: alias
- MX: mail server
- TXT: SPF, DKIM
- NS: DNS servers
- Website speed
- Security (DNSSEC)
- Domain ↔ host connection
- Email functionality
- Critical internet infrastructure
HyperText Transfer Protocol
Defines how browsers and servers exchange data.
Features:
- Simple
- No encryption
- Fast
- Insecure → data readable by attackers
HyperText Transfer Protocol Secure
Encrypted using SSL/TLS.
Features:
- Data encryption
- Server authentication
- Protection from MITM attacks
- Required for logins, payments
API = Application Programming Interface
A communication bridge between applications.
A weather website receives data from a weather API.
- Allow apps to communicate
- Send/receive data (JSON/XML)
- Prevent direct database access
- Power modern applications
- All apps use APIs
- React/Vue/Next.js rely on APIs
- Used for:
- Payments
- Authentication
- Markets
- Social networks
- Blockchain








