I am working on a SaaS application. We take Shopify / Magento Go etc as reference.
- I used CodeIgniter PHP framework.
- SaaS Methodology - Multiple database, single code-base
Our SaaS architecture is as follows:
- when a customer signup a database is build with his name and contain his specific databases.
- when a customer signup he get a sub-domain (Ex: test1.example.com)
- The customer can add his own domain that points to the system defined sub-domain. (Ex: test1.example.com to www.mydomain.com )
How to achieve this functionality?