Create DNS and Virtual Host Dinamycally
I wanna configure a structure that create automatically a DNS and a copy of a template folder with a ecommerce file and point to it.
The goal is, a client create a account on my ecommerce and automatically the serve creates a folder with the ecommerce files (copied from the template folder that contains the files) and create a virtual host configuration using a created dns that points to it folder.
I don't know if I'm being clear, actually I've been looking for a way to do that or some kind of way to archive the final goal but I don't even know how to look for that kind of feature.
so, if you could help me I would be very grateful.
Thanks in advanced