I am currently creating a web application and I would like my users to have their own URLs to identify them. I could do this using subdomains or using folders, and I wonder what advantages and disadvantages they have.
I really like the folder solution because my URL mapping will be pretty simple. I read about auto-generating subdomains, and one solution was to create virtual hosts and then restart my nginx. This is a solution, but I would prefer not to restart my web server every time a new account is created. If there are any other ways to create automated subdomain creation, that would be great!
Thank!
source
share