Welcome Guest, Not a member yet? Register   Sign In
Same system and application folders for multiple sites/subdomains
#1

Hello community

I've built a web application on Codeigniter (Version 2, but I'm already planning to update to version 3). Every customer using the application has his own subdomain and database. So the folder structure is like that:

/public_html/customer1/index.php
/public_html/customer1/application/
/public_html/customer1/system/

/public_html/customer2/index.php

/public_html/customer2/application/
/public_html/customer2/system/

etc.

Now I'd like to use the same application and system folders for every customer. Still every customer should have his own subdomain and database (configuration) for accessing the web application.

Has anyone of you ever tried something similar? What would be best practice to realize this?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB