{"id":6415,"date":"2017-05-02T19:55:55","date_gmt":"2017-05-02T19:55:55","guid":{"rendered":"http:\/\/www.cs.columbia.edu\/crf\/?post_type=guides&#038;p=6415"},"modified":"2021-09-10T16:12:59","modified_gmt":"2021-09-10T16:12:59","slug":"how-to-set-up-a-web-site","status":"publish","type":"guides","link":"https:\/\/www.cs.columbia.edu\/crf\/guides\/how-to-set-up-a-web-site\/","title":{"rendered":"How To Set Up Your CS Web Site"},"content":{"rendered":"<p>Your home page will be accessible at https:\/\/www.cs.columbia.edu\/~your_cs_account_name<\/p>\n<p>Older accounts may have a separate site at http:\/\/www.cs.columbia.edu\/~your_cs_account_name<\/p>\n<p>Use your CS account to log in to your home directory.<\/p>\n<p><code> $ ssh your_cs_account_name@compute.cs.columbia.edu<\/code><\/p>\n<p>If your account was created prior to September 2021 you probably have two directories in your home directory, html for the HTTP version of your site, and secure_html for the HTTPS version of your site.<\/p>\n<p>If your account was created after September 2021, you will just have one version of your site. Both html and secure_html will be there, but secure_html will just be a link to html.<\/p>\n<p>You can place whatever content you like in the directory and it will be visible to the outside world.<\/p>\n<p>In order to allow Apache to access your files, directories should be world-executable and files should be world-readable.<\/p>\n<p><code>$ chmod o+x my_directory<\/code><\/p>\n<p><code>$ chmod o+r my_file<\/code><\/p>\n\n","protected":false},"featured_media":0,"parent":0,"menu_order":0,"template":"","categories":[3],"class_list":["post-6415","guides","type-guides","status-publish","hentry","category-guides"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.cs.columbia.edu\/crf\/wp-json\/wp\/v2\/guides\/6415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cs.columbia.edu\/crf\/wp-json\/wp\/v2\/guides"}],"about":[{"href":"https:\/\/www.cs.columbia.edu\/crf\/wp-json\/wp\/v2\/types\/guides"}],"wp:attachment":[{"href":"https:\/\/www.cs.columbia.edu\/crf\/wp-json\/wp\/v2\/media?parent=6415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cs.columbia.edu\/crf\/wp-json\/wp\/v2\/categories?post=6415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}