Welcome Guest, Not a member yet? Register   Sign In
Multiple domains pointing to same CI application
#4

[eluser]Sarfaraz Momin[/eluser]
There would be 2 way I would prefer ... 1 would be less prefered but still an option. The options are as follows:
1. htaccess = I would have one system folder with different application folders and have ur index.php redirect to the correct application folder based on the URL. The pros would be a totally different codebase and you can play around with them individually without hurting any other site.

2. Routes = I would have the redirects using routes and configure all the databases in my database config file. I would have the correct database group selected based on the URL. The pros would be a single update to reflect on all the domains.

I hope you select the right way of doing it or whatever feel is more optimized but I would definately like to know what you did with it since its quite interesting.

Have a good day !!!


Messages In This Thread
Multiple domains pointing to same CI application - by El Forum - 12-05-2008, 09:30 PM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 09:57 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 10:15 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 11:00 AM
Multiple domains pointing to same CI application - by El Forum - 12-07-2008, 03:56 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 06:42 AM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:07 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:35 PM
Multiple domains pointing to same CI application - by El Forum - 12-08-2008, 05:55 PM
Multiple domains pointing to same CI application - by El Forum - 12-09-2008, 02:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB