Video Link : E1
A webpage is nothing but a document on the internet you can access.
This is a webpage
<h1>Hello there</h1>
A website is a collection of web pages. It could have images, videos etc too. You get the idea
Computers connected together.
So that we can share documents, media, resources like printer etc. This means we can share our simple website in the network too.
- Local Area Network (LAN) : Consists of a small number of devices. Example: WiFi network at home
- Wide Area Network (WAN) : A giant network, connecting other networks, devices etc.
Internet is nothing but a network of networks. Your home wifi network is connected to the ISP. And the ISP connects you to the other parts of the internet managed by your ISP. And the ISPs connect to each other through high speed network such as the backbone network
In theory, a server is no different than the computer you have. They only differs in what software they might have installed and the hardware components like how many cores of CPUs of how many GBs of memory they have
A unique identifier for a device in a network. There is more to learn here.
If IP address is an address to a house, you can think of port numbers as windows or doors to your house
In a real example, an IP address means an address to a unique computer in a network and port numbers means different logical windows in the same computer. This helps us to have multiple services to run and listen on the same computer
For example, if you have a web server, it listens on port number 80 If you have an SSH server, it listens on 22
It means, the services is listening in a window (port) for any request to come to that port. Think of it like a check-in counter at the airport. The staff waits until a traveller arrives at that window and then he/she proceeds to handle the traveller
Protocols are rules on how to talk to each other. For example, if you want to talk to someone in English, you both should know the rules of the English language. Protocols are like that. All the computers talking to each other using a language should follow certain rules.
For example, if you are building a webserver, it should follow certain rules so that the browser can actually read the page you are serving. The browser already follows those rules.
DNS stands for Domain Name System. It is a system to translate domain names (example esc.sh or google.com) to IP addresses.
Because computers talk to each other using IP addresses. Domain names such as google.com is there for our convenience. For example, when your browser is talking to www.google.com, the first thing it needs to do is to find out the IP address of www.google.com
[More on DNS later]
These are the topics that you could research on your own
- OSI Model, TCP/IP Model. Why are they important
- Most used ports
- IP Subnetting
- How does the packet gets routed through the internet - Routing protocols
- How does a router work
- Network Address Translation
- IPV4 vs IPV6
- TCP vs UDP
- AS Numbers, BGP