I want to install a subdomain for all users of the site, for example www.companyname.mydomain.com I would like to use htaccess for this.
when someone asks www.companyname.mydomain.com, should he redirect to myfile.php? name = Company Name
How can I achieve this using the htaccess file?
Thank you for the attention.
source
share