title: Codeigniter: Multiple Domains, but only 1 site
body: <p>i'm trying to set up my site that can have different domains for different locales but it should have only 1 codebase. Right now i have to redirect all other domains to the main domain and run my website on that domain. My question is, is it possible to set up my host or my codeigniter application so that i can host my app in all domains without duplicating the codebase. For example : 2 sites www.domain1.com and www.domain2.com should run on the same server, and www.domain1.com/controller/action and www.domain2.com/controller/action should call the same controller file.</p>
  
  <p>Thanks</p>