Thanks for the link! I might use some of those techniques, but I am not actually looking to create a subdomain for every user. I am looking to create a whole new (running) rails app programmatically.
Each app will be very low traffic. Most will only be around for a few weeks. A few will stay and become higher traffic. These ones will likely be moved to mongrels.
Creating the app will be easy, but configuring it to run seems to be the difficult part. Certain things can only be done in cPanel.
I don't have a lot of experiance with cPanel. Can I use cPanel Scripts
http://www.cpanel.net/docs/whm/Scripts.htm)? Or are those only for admins? What about the .cpanel directory in my home folder? Can that be safely modified to make the necessary changes?
Thanks