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: https://www.cs.swarthmore.edu/~your_user_name

For example, if my username were hpotter1, the website would be: https://www.cs.swarthmore.edu/~hpotter1

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