I have multiple sites using Coldfusion 11 and each site uses a MySQL database. Since each of my sites each use a copy of the same codebase I am wondering if there is a way to configure things so that I can have multiple websites share the same codebase. For example, www.sample.com
, test.sample.com and mysite.anothersite.com would all use the same codebase but use their own database and the URL is preserved when viewing the site.
Is there a way to configure this?