I am rebuilding a company’s three websites and combine them into one Yii application. For SEO and historical reasons I have to keep the three original domain names - each one has a different focus (training, sales and general) and slightly different look and feel. They need to be on a single application because they share a common backend.
So say the three domain urls are www.abc.com, www.def.com and www.ghi.com. I want to match them onto three modules, say abc, def and ghi. There will also be another module called admin.
How do I do this without explicitly putting the module in the url? For example, www.abc.com/ should load module/controller/view abc/default/index. So the module should not appear in the url.
The only possible exception to this would be if www.abc.com would load say module ghi eg: www.abc.com/index.php/ghi/ctrl/view - although I would still prefer that the appropriate domain is displayed - in this case www.ghi.com/index.php/ctrl/view.
I would appreciate any input on this.