Reputation: 2476
I have a full working symfony project with integrated login/users. now some users -depends on their roles- have the ability to create new 'client(s)'. What i am looking for is with the creation of each new client to have:
I managed to do the redirection depends on the user client(s) but its virtual since i didn't manage to create new DB/Subdomain for each new client. As for the subdomain my SP have an API to do that which i will simply call and attach the subdomain to the created client. My last problem is how to create new DB and tell the application to use the correct DB connection with different users/subdomains.
Any hitns will be appreciated. googled a bit didnt find any "usefull" hints.
p.s. i am using Symfony 4.0.4
Upvotes: 1
Views: 180