Chapter 9 exercise set 1

A simple web server “Hello World!”

Create a directory named SimpleWebServer in your home directory. Inside that directory create a file named index.html with the following content:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>

</body>
</html>

Again from inside your SimpleWebServer directory (now containing the file above) run the following command from your unix prompt:

$ python3 -m http.server 8080