Multiple App Instances on same Server

Hello All,

I would like to know the best setup for hosting multiple instances of a same app on a single server. Each instance has its own domain name. The only thing that changes between the apps is the database, images and theme. Maybe we can have multiple Apache vhosts - one for each app instance, or maybe one vhost for one Cake core, and than change the database and theme according to the domain requested. Any ideas? Appreciate any help!

Thanks,
Andre

Its called multi-tenant, here is a similar question

If you only change the database, you can set up the database according to the subdomain on the bootstrap file

1 Like