This is not really a specific question about my code, but I would like to ask you guys to think with me.
I am working on a SaaS-application that I will provide to a few customers. The customers will be able to deploy their own SaaS-application on our server. I want the following workflow:
- The customer provide their wanted subdomain and will point a cname to our server
- Optional: the customer provides the credentials for the admin user for the application
- When the user has provided their subdomain, and in addition their wanted login, a new laravel application will be installed fromout a git. I also want a nginx file to be created, so their cname will be pointed to the new directory of the application.
I was looking at laravel multi-tenancy but this would require a lot of recoding of the application. But if it is not possible on any other way, I would do that if needed.
I hope you guys understand my question a bit. It is hard for me to explain it, because most of it is in my head.
I hope you guys have some answers.
Thanks in advance.
Kind regards, Serge