Technische Universität München

Creating your own homepage

This article explains how and where you can set up a homepage of your own on the university computers. Each informatics student has the opportunity to create one under the URL:

1. General information

A worthwhile German website with a FAQ-section on setting up a homepage by Franz Prilmeier can be accessed here.

Important remark: . This wiki-page should be read thoroughly before the homepage creation so that potential risks are minimized.

2. Preparation

The "index.html" file for the home page is situated in the directory:


Following commands should be executed:

ssh <loginname>

mkdir -p $(dirname $HOME)/home_page/html-data

touch $(dirname $HOME)/home_page/html-data/index.html

chmod -v o+x $(dirname $HOME)

chmod -v o+x $(dirname $HOME)/home_page

chmod o+x $(dirname $HOME)/home_page/html-data

chmod o+r $(dirname $HOME)/home_page/index.html

They ensure the generation of an empty "index.html" file and the correct setting of the access rights.

3. Generating HTML code

An abundance of HTML tutorials can be found on the Internet, one of them being w3schools. The previously generated index.html file should follow the following scheme:
<!DOCTYPE html>


<body bgcolor =#22ff00>

<p>So koennte ihre Webseite ausschauen.</p>


After editting the file, the website can be accessed by calling

So könnte die Webseite aussehen

4. Apache Error Logfile

It's possible to inspect the error log of the Apache server, which may turn out to be quite useful during troubleshooting:
  • The file is saved on the computer which can be accessed via ssh
    ssh <Ihr_Login>
  • The file path is /var/apache2/logs/error_log
  • Enter the following command to read:
    less /var/apache2/logs/error_log
Topic revision: r11 - 08 Nov 2021, AyseguelOmusNe63guq
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback