Lesson 1 of 6
How the Internet Works
When you type a website address, several things happen: your browser asks a DNS server for the IP address, connects to the web server at that address, and the server sends back HTML, CSS, and JavaScript files.
A web server is just a computer that runs 24/7 and responds to browser requests. Hosting providers rent you space on their servers.
DEPLOY
# The request flow:
# 1. User types: example.com
# 2. DNS converts to: 93.184.216.34 (IP address)
# 3. Browser connects to server at that IP
# 4. Server returns the website files
# 5. Browser renders the page
# Common hosting types:
# - Shared hosting (cheapest, many sites on one server)
# - VPS (Virtual Private Server, more control)
# - Cloud (AWS, Azure, Google Cloud, scalable)