Is there a CodeIgniter
CMS out there that supports running multiple websites from one codebase?
I would like to point my dns to site1.com
, site2.com
and then the CMS should serve the right website.
Already searched for CI projects with this functionality but nothing much came up, anyone has a recommendation? Thanks in advance!
Well I had a solution for this. I checked the domain you came from, and was using different configuration file for this in which I pointed to different url.php (sorry I'm not in php for 2 years so I hardly remember filenames). This was all done in that main codeigniter php file before anything else is initialiased.
I believe the professional version of PyroCMS
can do this, it's not free though. Have a look:
I wrote a blog post on how to do this back in 2009 and the code still stands:
The implementation in PyroCMS is better, and for $90 it's a lot of trouble taken off your hands.