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!
Set of "rules" about how different layers of the Internet communicate.
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.
Imagine you sent a message to a friend using letters through regular post office mail, but you sent it one word at a time. You'd need a way to determine things like:
TCP/IP is the fundamental protocol suite of the Internet, and it helps to address these concerns.
TCP (Transmission Control Protocol)
Ensures data transmission between devices is reliable:
IP (Internet Protocol)
Handles addressing and routing of data:
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:
When you first access a website your computer must check a DNS server to get the IP address associated with that address.
Where are DNS Servers?
We can see where some of the major DNS namespace servers are using sites like:
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
Customizing the hosts file
In Windows you can modify your DNS entries by changing the hosts file at:
C:\Windows\System32\drivers\etc
Let's try changing it so that "google.com" takes us to a different website.
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.
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: