The Internet is a global network that connects computers all around the world. It consists of:
The World Wide Web (WWW) is what most people think of when they hear "the Internet" - but it's actually just one part of the Internet! The WWW is all the websites and web applications that we can access through our web browsers.
Some things on the WWW:
Some things that use the Internet but are NOT part of the WWW:
The WWW is one part of the larger Internet ecosystem.
URL = Uniform Resource Locator
We will use the URL diagram below as a reference point for the rest of this section.
A client server model is a way of organizing software so that one program (the client) requests services from another program (the server).
Client = Browser or a program that requests data from a server (e.g. an "app" on your phone)
Server = A program that provides data to a client.
The term "server" is used in two main ways:
As software: A web server is a program that listens for incoming requests and handles them - just like any other program on a computer.
As hardware: A "server" can be the actual physical computer that runs server software. While there are specialized computers built specifically to be servers (like the ones in data centers), technically any computer can act as a server - even your laptop could be one!
HTTP (Hypertext Transfer Protocol) and HTTPS (HTTP Secure) are the main protocols used for communication on the World Wide Web. They define how messages are formatted and transmitted between clients and servers.
When you visit a website:
The only difference between HTTP and HTTPS is that HTTPS encrypts the data being sent, making it secure from tampering or snooping.
Want to see HTTP in action? Try this:
You'll see all the requests and responses between your browser and our web server. Each entry shows:
Click any entry to see detailed information about that request and response.
TCP/IP is the fundamental protocol suite of the Internet, consisting of two main parts:
TCP (Transmission Control Protocol)
Handles reliable delivery of data:
IP (Internet Protocol)
Handles addressing and routing:
Every device on the Internet needs an IP address:
Try checking your computer's IP addresses using the commands below:
## BASH
ifconfig
## PowerShell
ipconfig
You'll see both IPv4 (like 192.168.1.1) and newer IPv6 (like fe80::215:5dff:fe15:fcaf) addresses.
When you make a request to a website, your IP request is included in the request packet. This lets the server know where to send the response.
DNS converts domain names into IP addresses:
google.com
→ 172.217.14.206
DNS exists because:
The ping
command is used to check the connection to a
server. It sends a series of packets to the server and measures the
time it takes for them to return.
To stop pinging, press Ctrl+C
.
Try pinging Google's IP address and paste it into your browser's address bar.
## BASH / PowerShell
ping google.com
When you visit a website, here's what happens:
The Internet is decentralized - packets can take different routes to their destination. If some network connections fail, packets will be automatically routed through working connections instead.
In this demo, we'll look at a real web server in action:
This will give you a behind-the-scenes look at how websites actually run.
http://174.138.52.187:81
Convenience feature in browsers to clear cookies and cache, not save history, etc.
Meant to give some degree of privacy to users sharing a single device.
Does not hide the origin of requests.
A proxy server is a server that acts as an intermediary for requests from clients seeking resources from other servers.
Meant to hide the origin of requests.
When I visit a website through a proxy, the request will go to the proxy server first, and then to the website.
VPN = Virtual Private Network
You are "inside" a private network, and the VPN creates a secure tunnel to the Internet.
Meant to provide access to a private network (private IP addresses). E.g. - none of you can "talk" to my lab machine.
When I VPN to Ivy Tech then visit a website, the request will go to the Ivy Tech network first, and then to the website.
Practical Password Management Tips: