Here's the process that I want to happen:
In my apps folder, I have different versions of the app, v1.0, v1.1, v1.2 etc etc.
Let's assume that my main site, "mysite.com" is configured in apache to point directly to the directory ~/www. So far this is the standard configuration I think.
Now let's say I make it so that ~/www is simply a symlink to a folder called ~/apps/v1.0/public
This the chain is as follows
Apache config => /home/mysite/www
www => /home/mysite/apps/current/v1.0/public
Ok, so far so good.
Essentially a configuration like this should make it so that all I have to do to change where "mysite.com" points to is to change the symlink for "www" to point to another app. (e.g. /home/mysite/apps/v1.5)
The BEST part of this is that I don't have to bother anyone else to do this. Support at hostingrails is free to do other things and help other people.
--- SETTING UP ANOTHER "TEST" site ---------
NOW, what I would like to do is do the exact same thing only with a subdomain. Let's call this subdomain "newest".
Let's assume that I have enough resources in my account to support this kind of configuration.
First I go to the control panel and create the "newest" subdomain. Control panel dutifully puts the subdomain in directory called "newest" in my www directory. Ok, fine I can live with that. Because symlinks are awesome. I delete the "newest" directory and make it a symlink to the app of my choice.
So I would now like to have mod_rails or whatever running in apache so that apache points to my app in this manner:
Apache config => /home/mysite/www/newest
newest => /home/mysite/apps/v2.0/public
Thus the client can view the newest version of her site at newest.mysite.com and see her current site at mysite.com.
Again, if we do this I won't have to bother Hostingrails with needless apache configuration requests. Everyone wins.
---------- MY QUESTION -----------------
Can we not do this?
I've been with hostingrails a while now. I've asked this question several times in support 1-on-1 and never got a clear answer. Maybe my questioning was always vague. Now I'm asking it here. If anyone sees a flaw in this line of questioning or in this solution please let me know.
Thanks all!