Internet Architecture
Understand how networks and devices communicate with each other.
Understand how devices communicate across the Internet, how domain names become IP addresses, how ports identify services, and how browsers reach web servers and applications.
Build a strong mental model of how the Internet delivers a web request.
Understand how networks and devices communicate with each other.
Learn why devices need addresses to communicate.
Understand how a domain name is translated into an IP address.
Understand how ports help identify network services.
Distinguish web servers, application servers and databases.
Trace a request from the browser to the server and back again.
The Internet is a collection of interconnected networks that communicate using standardized protocols.
The Internet is not one single computer or one giant machine. It is a large collection of interconnected networks that allow devices to exchange data.
A device can communicate with another device through multiple networking components and service providers. Routers help forward packets toward their destination.
When we access a website, several layers work together: the user's device, local network, Internet service provider, DNS services, routers, servers and application software.
Devices are like houses, IP addresses are like addresses, routers are like intersections, and protocols are like agreed traffic rules.
Several components participate in delivering a request.
Your computer, laptop, phone or other device that starts a request.
CLIENTConnects devices and carries data between them.
CONNECTIVITYForwards network packets toward appropriate destinations.
ROUTINGHelps map domain names to IP addresses.
NAME RESOLUTIONReceives web requests and returns resources or responses.
SERVERRuns application logic and processes dynamic requests.
PROCESSINGStores persistent application data for later retrieval.
DATAProvides infrastructure where websites and applications can be made available.
INFRASTRUCTUREA network address helps identify a device or network interface.
An IP address is a numeric address used in Internet Protocol communication.
A common IPv4 address contains four numeric parts. For example:
IPv6 uses a much larger address space and represents addresses using hexadecimal notation.
Addresses can have different scopes depending on where they are used.
Used for communication beyond a private local network.
Used inside a private network such as a home, school or company network.
DNS helps translate human-friendly domain names into addresses used for network communication.
Imagine having to remember a numeric IP address for every website you visit. That would be difficult.
Instead, we use domain names such as:
DNS provides the naming system that helps clients find the address associated with a domain name.
DNS is a distributed system rather than one single database.
Previously resolved information may already be available locally for a period of time.
A resolver can perform DNS queries on behalf of the client.
The root system helps direct queries toward appropriate top-level domain infrastructure.
Top-level domains include systems for extensions such as .com, .org and country-code domains.
The authoritative service provides the DNS information for a domain.
Records can provide addresses and other information associated with a domain.
A URL identifies the location and access method of a resource.
https identifies the protocol scheme being used.
www.codebhavya.com identifies the destination host.
/Web-Technologies/lesson.html identifies the requested resource path.
?id=2 carries query parameters.
#dns identifies a location within the loaded document.
An IP address identifies a network endpoint; ports help identify services at that endpoint.
| Port | Common Service | Typical Use |
|---|---|---|
| 80 | HTTP | Traditional HTTP web traffic |
| 443 | HTTPS | Encrypted HTTP web traffic |
| 22 | SSH | Secure remote administration |
| 25 | SMTP | Traditional email transfer |
| 53 | DNS | DNS service communication |
Think of an IP address as the address of a building and a port as a specific door or service entry point inside that building.
Hosting makes web resources or applications available from Internet-connected infrastructure.
Static files can be served directly to browsers.
Applications can execute logic and work with stored data.
These terms describe different responsibilities in multi-layer web architectures.
Commonly handles HTTP requests and serves web resources, and may also act as a reverse proxy.
Commonly executes application code, business rules and dynamic processing.
A common architecture separates presentation, application logic and data.
Trace what happens when a browser requests a dynamic web page.
The user enters a domain name in a browser.
DNS helps the client discover where the requested domain should be reached.
A request may pass through several network and server components before application processing.
The database is normally behind the application layer rather than communicating directly with the browser.
Let's apply the architecture to a college application.
A student enters a portal URL and submits a username and password.
The browser sends the request to the appropriate server. The application processes the login information.
The application may query a database and then return a result to the browser.
These simple connections will help throughout the course.
Human-friendly name
Network address
Name resolution
Service endpoint
Web request handling
Business logic
Persistent data
Communication rules
Avoid these common misunderstandings.
A domain name is a human-friendly name; DNS helps resolve it to addressing information.
An IP address and port have different roles in network communication.
Typical applications place application or service logic between the client and database.
A larger application can contain separate web, application and data layers.
Think first, then click a card to reveal the answer.
Think about how a network identifies an endpoint.
An IP address is an address used in Internet Protocol communication to identify a network endpoint or interface. IPv4 and IPv6 are the two major versions used today.
Think about how domain names are resolved.
DNS, or Domain Name System, is a distributed naming system that helps resolve domain names to network-related information such as IP addresses.
Think about multiple services running on one host.
Port numbers help identify the network service or application endpoint associated with communication on a host.
Think about where website resources and applications are made available.
Web hosting provides infrastructure through which website resources or web applications can be made available to Internet users.
Think about web-resource handling versus application processing.
A web server commonly handles HTTP traffic and web resources, while an application server commonly executes application logic and dynamic processing. In real deployments, the boundary depends on the architecture and software stack.
Check your understanding of Internet architecture.
Test yourself without referring to the lesson.
Explain Internet architecture in your own words.
Explain the difference between a domain name and an IP address.
Explain the purpose of DNS with a real-world analogy.
Explain why an IP address and port number are both useful in network communication.
Draw a three-tier architecture for a college student portal.
Trace the path of a request from a browser to a database.
The concepts you should remember before Level 03.
Interconnected networks
Network endpoint address
Name resolution system
Service endpoint
Web infrastructure
Web request handling
Application processing
Persistent storage
Click a term to flip the card and reveal its meaning.
An address used in Internet Protocol communication to identify a network endpoint or interface.
A distributed naming system used to resolve domain names to network-related information.
A numbered endpoint associated with network services on a host.
Infrastructure used to make websites and web applications accessible to users.
Software or a server system that commonly handles HTTP requests and returns web resources or responses.
A server-side runtime or system that executes application logic and dynamic processing.
An architecture that separates presentation, application/business logic and data responsibilities.
A networking device or function that forwards packets toward their destinations.
A web request is part of a larger Internet journey. A browser uses domain names, DNS helps discover addressing information, network communication reaches a server, and the server-side architecture may involve application logic and databases before a response returns to the browser.
This mental model will become extremely important in the next levels when we study URLs, HTTP and HTTPS in detail.
Finish the lesson and mark this topic as completed.