Multi Domain SaaS with CI? |
[eluser]otherjohn[/eluser]
Hi all, I have written apps with CI and keep coming back. But this time, I need to see if its a good fit. I am looking to build a SaaS CMS in which the clients will be able to add their domain to the product. I found http://net.tutsplus.com/tutorials/php/ba...deigniter/ and see how to do that, but how would you also use multiple domains (one DB, one APP). Is it possible? I am modeling this after shopify.com Thanks for any suggestions!
[eluser]icomefromthenet[/eluser]
Sounds like a DNS issue. If the client can setup a subdomain to point to your server then should be ok. You will need to decide on how to segment the traffic. One one of my current projects I parse the subdomain from the url and select a brand which maps to a theme. You need to extend codeigniter to include themes and brands , modules etc no authentication library will provide that functionality. |
Welcome Guest, Not a member yet? Register Sign In |