I have created an nodejs app and i want my customer to be able to dynamic create an instance of my app with automatic deployement on subdomains for example ‘customer1.mydomain.com’.
I know i can create vhost with node vhost package and nginx but i don’t know how dynamically create instance of my app.
How can I Achieve that ?
Bonus : i would like the app will be destroy after 1 hour for example.