How the web actually works
Short introduction and objectives.
Objectives
- Explain what happens when someone types an address in a browser
- Tell a website apart from a web application
- Say what a domain name and hosting are, and what they cost here
You already use the web every day. This lesson turns that habit into knowledge, because a web designer who cannot explain how the web works cannot answer a client's questions — and clients ask questions before they pay.
Two computers talking
When you type an address into Chrome on your phone, your phone becomes the client. It sends a request across the network to another computer, the server, which is switched on day and night somewhere in the world. The server answers with files: the text, the pictures, the instructions for the layout. Your browser reads those files and draws the page on your screen. The whole exchange usually takes less than two seconds.
This matters for your work: everything you will build in this course is a set of files that a server hands to a browser. Your job is to write those files so that the browser draws exactly what you intended, on a small screen as well as a large one.
HTTP and HTTPS
HTTP is the language of that conversation. HTTPS is the same language, locked: nobody between the phone and the server can read or change what passes. Today every serious site uses HTTPS, and Chrome marks a site without it as "Not secure". When a client asks why their site shows that warning, the answer is a certificate, and you will install one in week 8.
Website, web application, social page
- A website shows information: who we are, what we sell, how to reach us. A tailor's site, a school's site, a church's site.
- A web application does work for the visitor: it calculates, stores, books, sells. A hotel booking system, a school results portal.
- A Facebook or WhatsApp Business page is neither: it is a room in somebody else's house. It can be closed tomorrow, and it does not appear properly in Google.
Domain and hosting
A domain name is the address people type: boutiquengono.cm. You rent it by the year. A .cm domain is sold by local resellers for roughly 15 000 to 25 000 FCFA a year; a .com is usually cheaper, around 8 000 to 12 000 FCFA. Hosting is the rented space on the server where your files live, often 20 000 to 60 000 FCFA a year for a small business site. The two are separate purchases, even when one company sells you both.
- Prices change. Before quoting a client, check two resellers on the day you quote.
Where beginners go wrong
- Believing the domain includes hosting. It does not, and the client discovers it when the site goes dark.
- Promising a site "on Google first page" in week one. Search ranking takes months and is covered in week 11.
- Designing only for a laptop. In Cameroon most visitors arrive on a phone.