Read this blog for an alternative solution to create a personal homepage with corporate design. If you instead want a personal homepage with “full control”, read below.

General information

The URL (address) of your homepage is/will be the following:

https://people.math.ethz.ch/~username

The main file that you need has to be called index.html. You will probably have some more files like images, CSS-files, PDF-files, etc. You have to put all these files in your www-folder on the server.

An example of an index.html file is the following:

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title of the document</title>
</head>
<body>
    Content of the document.
</body>
</html>

Accessing the www-folder

You find the www-folder in your network-home. Here you find how to access your files on the server.

File permissions

Set the file and directory permissions as follows:

TypeOwnerGroupOtherCommand
filerwrrchmod 644 filename
directoryrwxxxchmod 711 dirname

Example (in a terminal):

username@midget% cd ~/www

username@midget% ls -ld *
-rw-------. 1 username others 298 Apr 11 12:16 index.html
drwx------. 2 username others 512 Apr 11 12:16 papers

username@midget% chmod 644 index.html
username@midget% chmod 711 papers

username@midget% ls -ld *
-rw-r--r--. 1 username others 298 Apr 11 12:16 index.html
drwx--x--x. 2 username others 512 Apr 11 12:16 papers