Application With Separate Instance For Each Client

Hi,

I am writing complex application in Yii. I want have code of this application in one place to easier manage and update application. In that case i can update application in one place and it will be update for all clients.

Each client will have separate instance of this application with own domain, database, files, configuration, themes etc.

How yii can help me with that? Or mayby use some system configuration on server (example in nginx)? What is the best way to get this achievement?

I don’t think Yii has anything to do with it - could be Java, .Net, etc. Write your application in a development server, then use Git (or some other) version control system to deploy to each client’s production environment. Good luck.