I'm not too sure about which forum to post this in, so if a MadSci thinks there's a better place for it, by all means go ahead
I vaguely remember reading about tom starting his own webhosting service on a server of his in the Server-Side forum (er, here), and was hoping he and/or anyone else could answer some questions...
A little background:
OK, a couple of the CS professors here are finally pushing to use *nix more (albeit SunOS) for various classes and purposes here in the lab. One of which is using one of the new servers (SunFire V480) to host all the websites for any CS classes that require the student to maintain online documentation of projects, the projects themselves, etc. All I have setup on the server is what was installed with Solaris 9 (Apache 1.3, whatever modules came with it... And I can't think of anything specific right now). After futzing with Apache, and various other things, I was able to get webpages to show up when and where I wanted (although I still need to setup php and mysql).
Now, I don't mind ftping stuff to the appropriate directory through the command line myself, but there are very few people in these classes that have ever even used ftp, much less through the command line. Basically what I've told them is to tough it out and learn, and since I practically live here in the lab I'll help when they need it and are here...
And for now at least, this'll work...
So at the moment, I manually create all the neccessary directories for each groups site, and they login to their home directory and have to cd to their web directory (/var/apache/htdocs/group_website_name), which isn't too much trouble.
And it's no trouble to chown each respective directory so that only the appropriate group can read/write/execute what they're supposed to, while still allowing everyone to view their webpages online. When I get a spare moment or two this semester (or next or whenever it ends up being) I'll write out a quick little shell script to ease the manual labor a bit (it gets pretty monotonous after the first couple sites).
But my question is this (since I have next to no experience administering a "web hosting service," and have only worked with a couple free hosting services myself)
Is there a a more efficient and/or effective way to administer everyones websites?
Is there an easier way for students/groups to edit their sites (without my having to create a web interface for them to use to upload files,etc)? (You'd be surprised at how many people know nothing about using the command line, and refuse to even try and learn it ... Then again, you probably already have an idea...).
Also, would anyone care to explain how web hosts work in general (primarily those running *nix, but Windows as well), mostly about creating ID's and access to the rest of the server (do they create user ID's on the server itself, or just somewhere in the webserver, or elsewhere?). The way I see it now, is that when you sign up, you get a user account on the server, and your home directory is your websites root folder. Anything like that? And if you ftp into the server, are you able to cd outside of your sites directory?
I'm sure I'll think of other questions I've had over the last week or so once I get more than 4 hours of sleep (BTW, that's my excuse if this doesn't make much sense or I'm just missing something ridiculously obvious )