Welcome Guest, Not a member yet? Register   Sign In
How to use one CI within more than one website
#1

[eluser]Byrro[/eluser]
Hello,

I´m a little bit experienced in PHP but just starting with CI, my first framework. I´d like to know if it´s possible to use the same CI core to more than one website. Let me explain my self better...

I have one server that hosts websites for my clients. Each website have it´s own domain. When the visitor types www.my-client.com or www.my-other-client.com, I´d like CI to call always the same methods and models, but to call the views dinamically depending on which website the visitor are accessing. Ultimately, I´d like the URLs and links shown to the visitor to be personalized to each website (my-client.com/products/show/123 or my-other-client.com/products/show/123).

Would it be possible? How can I do this?

Thank you very much!..




Theme © iAndrew 2016 - Forum software by © MyBB