---
title: "Servers and How a Website Is Published"
domain: cloud-computing
level: foundations
duration: "1h 10min total"
---

# Servers and How a Website Is Published

A website is just files on a computer that is always on and connected: a server. This module explains what makes a computer a server, what happens between typing an address and seeing a page, and the options for publishing a website, from your own machine to a hosting provider or the cloud. You will run a tiny web server yourself.

## Learning objectives
By the end of this module you will be able to:
1. Explain what a server is and how it differs from a personal computer.
2. Describe what happens between typing a web address and seeing the page (name, request, response).
3. Compare ways of publishing a website: your own computer, shared hosting, a rented server and the cloud.
4. Run a small web server on your own computer and open it in a browser.

## Prerequisites
- [02 — First Steps in the Terminal](../02-terminal-basics/README.md).
- For the activities: Python 3 and a web browser. Cost: free.

## Contents
| Type | Duration |
|---|---|
| [Theory](lesson.md) | 30 min |
| [Activities: your own web server in one command](lab.md) | 30 min |
| [Assessment (8 questions)](quiz.md) | 10 min |

## Further reading
- [What is a web server? — Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Learn_web_development/Howto/Web_mechanics/What_is_a_web_server)
