Course Web Hosting Server: URLs and File locations
- Each user has a their own domain name, in the form of
NETID.cs12students.dce.harvard.edu
, where NETID is the NetID of the user.- You can lookup your NetID at https://key.harvard.edu/manage-account -- look for "NetID" under "Account Information"
- For example, my NetID is "dph445" — they are typically three letters derived from your name along with three numbers.
- For example, the NetID for Charles William Eliot may look something like "cwe871".
Fact: Charles William Eliot was Harvard's president whose term began in the 19th century and ended in the 20th century (1869-1909). NetIds were not being issued in that era.
- You can lookup your NetID at https://key.harvard.edu/manage-account -- look for "NetID" under "Account Information"
- To connect to the course web hosting server, you must be connected to Harvard VPN.
- Each user will be able to login to the course web hosting server and will have disk space available. Each user will have a directory (folder) on the system where their web documents will go -- this is the
public_html
directory.- So the file location on the server will be something like
/home/users/NETID/public_html
, where NETID is the username (e.g. dph445, cwe871, look your NetId up here!)
- So the file location on the server will be something like
URL | File |
---|---|
https://cwe871.cs12students.dce.harvard.edu/index.html | /home/users/cwe871/public_html/index.html |
https://cwe871.cs12students.dce.harvard.edu/big_ideas/extension_school.html | /home/users/cwe871/public_html/big_ideas/extension_school.html |
https://cwe871.cs12students.dce.harvard.edu/big_ideas/elective_system.html | /home/users/cwe871/public_html/big_ideas/elective_system.html |
Directory Requests and "index.html"
URL paths that map to a directory. For example the request:
http://cwe871.cs12students.dce.harvard.edu/big_ideas/
would return the index.html
document in the big_ideas
directory (e.g. /users/cwe871/public_html/big_ideas/index.html
).