Good afternoon, how to implement an unlimited number of domains under. Htacces? There are such thoughts, but I cannot implement it myself. Suppose there is a site site.ru and it under the domain name.site.ru. In the directive under the domain there is a file index.php with the code
if (isset($_GET['name'])) {$name= $_GET['name'];} echo $name;
and now when entering the site name.site.ru/index.php?name=petya
, then Petya will be displayed. How to achieve the same inscription by clicking on the link petya.site.ru using the .htacces file?