I'm developing a real estate system in which when the user does his registration he gets a basic URL to access his site.
Example: foo.bar/modelo/1/site.php?id=73646
That is, all the files in the real estate system are inside the directory: model / 1 /
However, if I choose to have a domain of my own, I can redirect this foo.bar/modelo/1/site.php?id=73646 address to the new domain pointing, but for this I need to put all the files of the system in this new directory of the domain? Or can I use another technique? Imagine I have 80 clients using the real estate system and if I make an update to a file and have to publish in each of the 80 directories the new updated file, or do I need to modify the template structure?
I look forward to helping you!