Separate app in sub-domain

I have a Yii app on the main domain. Now I want to create a separate app that will reside in a sub domain. Both apps wil use the same databse (although, I can use a separate db if needed). I am just wondering if it will work just by putting the new app in the sub domain and referencing the framework or if it needs some kind of set up to work. Any tips guys? Thank you.

Putting your app inside the subdomain and accessing the framework/ from there (by editing the bootstrap file) should be fine.