Welcome Guest | Login

SymLinks and deploying multiple apps

Ok.  So, do everything in this tutorial:   http://www.hostingrails.com/forums/wiki_thread/1
Everything goes fine and it even works!  Hoorah!

But, this confused me.  When I create my symlink for my main domain . . .

[~]# mv ~/public_html ~/public_html_backup
[~]# ln -s ~/yourapp/public ~/public_html

my "public_html" became a symlink to my public folder in my main domain's app.  this is all good.  Everything works as it should.

But, what about setting up sub-domains?  Whether is be for SVN or other apps?  cPanel will create folders in the public folder of my main domain's application.  

Is that ok?  It seems like this will cause problems if I updated my main apps public folder.  Say I did a replace on my main apps public folder.

Am I missing something here?

2007-08-03 03:59 PM

Fredlee - That is not a problem. You can just contact the support team once you create the subdomains and we will be able to change the DocumentRoot for your subdomains.

2007-08-03 04:18 PM

HostingRails Support
Sweetness!

2007-08-03 04:21 PM

one more thing . . .
What order should I go?

First, install the main domain's app
2nd, create the symlink for the main domain's app.
3rd, create the sub-domains that I need, for example, "http://svn.mydomain.com"
4th, contact HR
5th install the apps for my sub-domains.

??

2007-08-03 04:29 PM

Ok. The order is fine. :)

2007-08-03 04:43 PM

HostingRails Support

Hello Guest! In order to post you must be an active client with us, please log in or sign up.