Student IT support moved to the DTU Library. Latex support remains in 125D/308

You can make your own World Wide Web page(s) available on the Internet! Just complete these steps:

1. Go to the directory in your home directory called public_html. If this directory does not exist, you must create it first.

2. Create a file called index.html in this directory. This is your homepage file.

3. Type the information you want in to the file. This must be done in Hyper Text Markup Language (thus the extension html).

How to get started

  • Start a Terminal window.
  • Go to your home dir
cd ~
  • List the contents of your home dir

If you don't have a dir called "public_html" type the following to create it:


(As of October 2013 public_html is a link to /www/xx/x/public_html)

Now you have a directory where your web files will reside in. Start for example by making a file called index.html:

  • Go to the public_html dir
cd public_html
  • Edit a new file called index.html (emacs is used in this example - use your favorite editor)
emacs index.html
  • Write something like the following in index.html and save it
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
        <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
        <TITLE>Page Title</TITLE>
<h1>Sample HTML Header</h1>
<p>Sample Paragraph</p>

You should now have a web page up and running. Try to go: (where "username" should be replaced by _your_ username).


Permissions and access problems

To let others view your homepage, you have to set permissions on your public_html directory. For at better understanding of Unix Permissions read the section permissions

  • First of all start a Terminal window.
  • Then enter the following command, which will change the permissions on your public_html.
chmod 755 ~/public_html
  • There is a more restrictive way. If you don't want to give everybody read/browse access to your web site.
chmod 701 ~/public_html

See the Permissions page for more information.

PHP and Server-Side scripting

We don't provide PHP or server-side scripting.


We don't provide MySQL. The only MySQL server running at DTU is for courses which requires it.


01 2017
Please note that the IT support office has been moved to the DTU library. Latex support remains in 308.
12 2015
Want to take advantage of the new GitLab service, or perhaps move your existing repos project over? Check out
09 2014
When you log in to your studentmail, remember to use your student number (sXXXXXX) as username.
04 2015
ShareLaTex We now offer ShareLatex, an online mulituser system for making LaTex documents. Check out and