Skip to content
Qyubie Learn
Web Development courseLesson 1 of 20 · tap to see all lessons

Web Development · Beginner

Introduction to the Web: History, Browsers, Servers, Domains, Hosting, and HTTP

How the Internet and the World Wide Web began, Web 1.0 to modern web apps, and what happens between a browser and a server when you open a page.

  • Qyubie Learn Editorial Team
  • Published
  • 10 min read

Includes 3 quick checks you can do right here.

Every time you open Facebook, search on Google, or check your grades online, two computers are talking: yours and a server somewhere else. This course teaches you to build what's on the other end of that conversation, from a single page to a full web application with a database. It starts with how the conversation works.

By the end of this lesson you will be able to:

  • tell the Internet and the World Wide Web apart, and outline their history,
  • describe Web 1.0, Web 2.0, and modern web applications,
  • explain what a browser, web server, domain, and hosting are, and
  • describe the request-response cycle and read a basic HTTP exchange.

The Internet and the Web are not the same thing

The two words are used as if they meant the same thing, but they don't:

  • The Internet is the global network: the cables, routers, cell towers, and the rules (protocols) that let any connected computer send data to any other. Email, online games, video calls, and the Web all travel over it.
  • The World Wide Web is one service that runs on the Internet: a huge collection of pages linked to each other, which you view in a browser.

A useful picture: the Internet is the road system; the Web is one kind of traffic on it.

A short history

YearWhat happened
1969ARPANET, a US research network, sends its first message between two universities. It is the Internet's ancestor.
1983ARPANET switches to TCP/IP, the protocols the Internet still uses. This is often called the Internet's birthday.
1989Tim Berners-Lee, at CERN in Switzerland, proposes a system of linked documents for sharing research.
1990–91He builds the first web server, the first browser, and the first web page, and defines HTML, URLs, and HTTP.
1993CERN makes the Web's technology free for anyone to use. The Mosaic browser shows images inside pages, and the Web takes off.
1994The Philippines connects to the Internet on March 29, 1994.
1995 onwardJavaScript and CSS arrive; search engines, online shops, and later social media follow.

The three inventions from 1990 are still the core of every website: HTML (how a page is written), URLs (how a page is found), and HTTP (how a page is requested and delivered). You'll use all three in this course.

Web 1.0, Web 2.0, and modern web applications

Web 1.0 (roughly 1991–2004) was the "read-only" Web. Sites were mostly static pages written by their owners: company brochures, personal home pages, directories. Visitors read; they rarely contributed.

Web 2.0 (from the mid-2000s) made the Web interactive and social. Users create the content: posts, comments, videos, reviews, wikis. Pages update without reloading, and sites share data with each other. Facebook, YouTube, and Wikipedia are typical Web 2.0 sites.

Modern web applications behave like apps installed on your computer, but run in the browser: Google Docs, Canva, online banking, a school's learning system. They:

  • load data from servers in the background through APIs (lesson 10),
  • store data in databases (lessons 8–9),
  • work on any screen size (responsive design, lesson 3), and
  • are built with tools like React and Next.js (lessons 12–14).

Quick check

Which is the best example of Web 2.0?

The pieces: browser, server, domain, and hosting

Browser (the client). Chrome, Firefox, Edge, and Safari are browsers. A browser asks for pages, then reads the HTML, CSS, and JavaScript it receives and turns them into what you see. In web terms it's the client: the side that makes requests.

Web server. A computer that is always on and connected, running software (such as Apache or Nginx, or a Node.js or PHP program) that waits for requests and sends back responses. Sometimes it sends a file as it is; sometimes it runs code first, for example to fetch your grades from a database and build a page just for you.

IP address. Every computer on the Internet has a numeric address, like 142.250.66.78. Computers use these to find each other, but people can't remember them.

Domain name. A human-friendly name, like google.com or bisu.edu.ph, that stands for an IP address. You rent a domain from a registrar for a yearly fee. The ending (.com, .ph, .edu.ph) is the top-level domain.

DNS (Domain Name System). The Internet's phone book. When you type a domain, your computer asks DNS servers for its IP address, then connects to that address.

Hosting. Renting space on a server so your site is online all day. Options range from shared hosting (many small sites on one server, cheap and simple, common for PHP sites), to a VPS (your own virtual server), to cloud platforms like Vercel or Netlify that deploy a site straight from GitHub. You'll deploy your final project in lesson 19.

A URL puts several of these together:

https://www.example.com:443/products/shoes?color=red#reviews
└─┬──┘  └──────┬──────┘└┬┘└─────┬──────┘└───┬───┘└──┬──┘
scheme      domain    port    path       query  fragment
  • scheme: the protocol, https (secure HTTP) or http.
  • domain: which server.
  • port: which "door" on the server. It's usually left out, because https uses 443 and http uses 80 by default.
  • path: which page or file on that server.
  • query string: extra data after ?, as name=value pairs joined by &. You'll read these with PHP in lesson 5.
  • fragment: a spot within the page, after #. It never reaches the server; the browser uses it to scroll.

Quick check

In https://shop.example.ph/cart?item=42&qty=2, what is the path?

The client-server model and the request-response cycle

The Web works on the client-server model. The client always starts; the server only answers. Here is what happens when you type https://www.example.com/about and press Enter:

  1. DNS lookup. The browser finds the IP address for www.example.com.
  2. Connect. It opens a connection to that IP address on port 443, and sets up encryption (the "S" in HTTPS).
  3. Request. It sends an HTTP request: "GET /about, please."
  4. Server work. The server finds the file, or runs code (PHP, Node.js) that may read a database, and prepares a response.
  5. Response. It sends back a status code and the content, usually HTML.
  6. Render. The browser reads the HTML. Each image, CSS file, and script the HTML mentions is another request, so one page often means dozens of request-response cycles.
  7. Display. The browser lays out and paints the page, and runs its JavaScript.
 Browser (client)                               Web server
      │ ── 1. GET /about  ─────────────────────────▶ │
      │                                              │ 2. find file / run PHP,
      │                                              │    maybe query the database
      │ ◀──────────────── 3. 200 OK + HTML ───────── │
      │ ── 4. GET /style.css ──────────────────────▶ │
      │ ◀──────────────── 5. 200 OK + CSS ────────── │

HTTP is stateless: each request stands alone, and the server doesn't remember the previous one by itself. Logins work because the browser sends a small piece of data, a cookie, with every request to say who you are (lesson 17).

What an HTTP request and response look like

HTTP messages are plain text. Here is a simplified request your browser sends:

GET /about HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (Windows NT 10.0) Chrome/131.0
Accept: text/html
  • The first line holds the method (GET), the path (/about), and the HTTP version.
  • The lines after it are headers: extra information as Name: value pairs.

And the server's response:

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 1280

<!DOCTYPE html>
<html>
  <head><title>About us</title></head>
  ...
  • The first line holds the status code and its meaning.
  • Then come headers, such as Content-Type, which tells the browser what kind of content follows.
  • After a blank line comes the body: here, the HTML of the page.

The two methods you'll use most:

MethodUsed forExample
GETasking for something; data goes in the URLopening a page, searching
POSTsending something to be processed; data goes in the bodysubmitting a sign-up form

And the status codes you'll see most often:

CodeMeaning
200 OKit worked; here's what you asked for
301 / 302moved; go to this other URL instead (a redirect)
404 Not Foundthere's nothing at this path
500 Internal Server Errorthe server's code crashed

The first digit tells you the group: 2xx success, 3xx redirect, 4xx the client made a mistake, 5xx the server failed. Lesson 10 covers HTTP methods and status codes in more depth.

Quick check

You submit a login form and the server's PHP code crashes. Which status code is the browser most likely to get?

Try it: watch the requests

Every browser can show you its HTTP traffic:

  1. Open any website in Chrome or Edge.
  2. Press F12 (or right-click and choose Inspect), then open the Network tab.
  3. Reload the page with Ctrl+R.
  4. Each row is one request. Click the first one (the page itself) and look at the Headers tab: you'll see the request method, the status code, and the headers described above.

Count the rows: a single news site page can easily make more than 100 requests. You'll use these developer tools for debugging throughout the course, and in depth in lesson 18.

Common mistakes

  • Saying "Internet" when you mean "Web". The Web is one service on the Internet.
  • Thinking a domain is the website. A domain is only a name that points to a server; the site lives on the hosting.
  • Thinking the server remembers you. HTTP is stateless; cookies carry the memory.
  • Blaming the server for a 404. A 404 usually means a wrong URL or a missing file, not a crash.

Summary

  • The Internet is the network; the Web is linked pages delivered over it. Tim Berners-Lee invented HTML, URLs, and HTTP at CERN in 1989–91.
  • The Web grew from read-only Web 1.0, to user-driven Web 2.0, to today's web applications.
  • A browser (client) requests pages from a web server. DNS turns a domain into an IP address, and hosting keeps a site online.
  • Each request-response cycle sends an HTTP request (method, path, headers) and gets a response (status code, headers, body). GET asks; POST sends.

Next lesson: HTML fundamentals: writing the pages themselves.

References and further reading