How to get a Stanford CS domain
By Suze van Adrichem ∙ July 2026
This is a tutorial on how to get a Stanford CS domain and how to make a website at that domain. This is just how I do it, it might be a little wonky so perform at your own risk!
Requirements:
- Have a Stanford SUNet ID, which you get when you have any affiliation with Stanford
- Have a Stanford CSID, which you get when you declare your CS major
Wherever this tutorial uses csid you should use your own CSID, wherever I use sunet use your SUNet ID (for most people these are the same).
Put your csid and sunet in the boxes below if you want the tutorial to populate the commands below with your info:
Step 1: SSH into the myth machines from your terminal (put in your Stanford password if it prompts you)
ssh sunet@myth.stanford.edu
You should now see something like this:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
myth66.stanford.edu
Ubuntu 24.04 (6.8.0-101-generic)
8 x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz, 31.22 GiB RAM,
enp0s31f6: 171.64.15.15
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-> For help with your SUNetID, AFS, or class dirs call 725-HELP, or visit
http://helpsu.stanford.edu
-> For problems with hardware or local/OS software, visit
http://support.cs.stanford.edu
-> With the exception of certain course related mail, the myths cannot
be used to send or receive email
-> The myths are not for CPU-intensive workloads. For alternative
computers see http://farmshare.stanford.edu
-> The new myths are: myth51 - 66
sunet@myth66:~$
Step 2: Authenticate to CS server from inside myth (put in your Stanford CS password if it prompts you)
kinit csid@CS.STANFORD.EDU
Step 3: Get an AFS token from inside myth
aklog -c cs.stanford.edu
Step 4: Make a folder on myth where you store what you want to have at your website domain, from inside myth
mkdir -p ~/site_build
Step 5: Store something inside that folder
If you don’t have a website yet, you can make and add a little test file like this (inside myth machine):
echo "<h1>Welcome to my website!</h1>" > ~/site_build/index.html
Or if you do have something locally on your computer you can send it to the myth folder like this:
scp -r [whatever you want to send over goes here] sunet@myth.stanford.edu:~/site_build/
Step 6: Move these files from myth to Stanford CS, from inside myth
yes | cp -r ~/site_build/* /afs/.cs.stanford.edu/u/csid/www/
This might print out a bunch of text that you can ignore; the yes auto-confirms file overwrites, which you need if you already have files at /www/.
And now you have a website! Visit it at https://cs.stanford.edu/~csid/. If you want to make any updates to your website, just repeat all the steps above except making the site_build directory, which should already exist now.
Let me know if any of these steps are not working for you, I’m happy to help debug anything!