-2
Good evening, I developed a system that behaves in the formed Saas, where the client only register and already has access to use, in it I used a unique identifier for each client and they all use the same structure, PHP files and the same database. So far so good, because the domain does not change, IE, everyone uses www.lalalaetc.com.br/app and the system separates everything by unique identifier, however, I would like to develop a virtual store from it, only there would be a difference, the domain, ie, I believe that the principle is the same, use a unique identifier for each store, but my doubt is how do I make so that when someone access the store the domain is correctly directed and load the id of my client? Which way to go and what I need to research to do such a feat?
*click reopen unintentionally.
– Daniel Omine