I am starting work on a new project that will be based on several domains. No more than 20 in the future. For now it’s 4. The business logic will be the same for each of the domain name, but the visual layer will not. I want each domain to have a different page layout and own DB.
What is the best way to solve this problem ?