how can I set sub domains using htaccess ?
- by user41110
Hi all
I want to set a subdomain for all site users, like www.companyname.mydomain.com I would like to use htaccess for this purpose.
when somebody requests www.companyname.mydomain.com it should redirect to myfile.php?name=companyname
How can I achieve this using an htaccess file ?
Thanks for the consideration.