student web pages

If you would like a web page to host CS-related content, you can create one by making a public_html directory in your home directory:

mkdir ~/public_html
chmod 755 ~/public_html

That should make a readable website directory for you. If you add html files (like index.html) to that directory, they can be seen at this URL:

For example, if my username were dduck1, the website would be:

Note: any files you create in the public_html directory need to be readable by others (so the web server can serve them out to the world!). If you see a “forbidden error” when you try to access a page, you probably need to change the file permissions, like this:

chmod 644 index.html

Back to SwatCS Help Docs