Other
Can I still use HCS for hosting if I want www.my-student-organization.com?
Submitted by jkroll on Tue, 02/12/2008 - 16:45.Yes! You should e-mail us to set this up (one day soon it will be automated and you can do it yourself). Meanwhile, you should stake your claim in the DNS namespace by going to your favorite registrar (we can't recommend a particular one, but we can tell you what people have used in the past), spending <$10 for your name (for at least a year, maybe more). You'll have to tell your registrar to set your name to be an alias (CNAME) for artemis.hcs.harvard.edu. Then we'll set it up so that your site magically appears at your domain name. Amazing!
- Login to post comments
403 Forbidden, Error 500 (etc)! Permissions issues?
Submitted by Anonymous on Wed, 02/06/2008 - 22:03.Faulty permissions can cause lots of trouble!
If permissions are set too low, you will get 403 Forbidden errors when loading pages; if they're set too high a hacker may be able to rewrite anything on your site at will. To fix permissions on your account, SSH into HCS and enter these commands
chmod 711 ~ #Fixes perms on your home directory
chmod 711 ~/web/ #Fixes perms on your web directory
chmod -R ugo+r ~/web/ #Sets read bit for everyone on everything in web directory
What SQL settings should I use?
Submitted by Anonymous on Wed, 02/06/2008 - 21:46.First, HCS runs a useful tool called phpMyAdmin at https://www.hcs.harvard.edu/phpmyadmin/. You can view and modify many of your database settings here. You can also access your mySQL database from the command line by typing
mysql -h mysql.hcs.harvard.edu -u group-name_here --password=sql_password_here
at the command prompt.
Some settings you would use in connecting to the database in a php script:
DB = group_name
DBUSER = group_name (same)
DBPASS = your_mysql_password
DBSERVER = mysql.hcs.harvard.edu
- Login to post comments
I accidentally deleted a file. How can I recover it?
Submitted by Anonymous on Sat, 01/26/2008 - 17:37.Since the spring of 2005, HCS home directory data has been stored on a network appliance filer, courtesy of a very generous alum. A network appliance filer, for those of you who don't keep track of such things, is a fancy computer with some really big hard disks and a bunch of nify features, designed to make things like storing home directories safer and more convenient.