Just wanted to know how can i execute the following task
My requirement is
- Let say the main domain is www.maindomain.com
- And a subdomain is e.g. xyz.maindomain.com and Every subdomain have a
correspondence domain store in DB. so that user can access a site using
domain as well.
For e.g let say there is a subdomain xyz.maindomain.com and this can be
access using www.xyz.com
So just wanted to know its need to be configured in .htaccess file or
need to configure something else?
NOTE: the subdomain will be dynamic.