Site scenario: user register/sign up my site then a subdomain will automatically be created based on their username [for example username.example.com]. How can I make this automatically when user sign-up? I like to use only one instance of files of my site but many subdomains. Then how can I display user specific data..May be I can extract the first portion and get the username and fetch the data based on username..
How can i achieve this: files only in one directory but many subdomains created automatically and utilize the same files?