I would like to have the following:
maindomain.com pointing to public_html/subfolder
PLUS
subdomain.maindomain.com pointing to public_html
I managed to do the first on htaccess but don't know how to do the second.
I would like to have the following:
maindomain.com pointing to public_html/subfolder
PLUS
subdomain.maindomain.com pointing to public_html
I managed to do the first on htaccess but don't know how to do the second.
Rewrite role in Apache can be helpful. take a look at the following question: