Custom subdomains with htaccess
I ended up creating a multisite structure.


Under sites folder I created a folder for each subdomain like: "aaa", "bbb",...
I created a settings.php inside each folder (starting with php tags, do not close it though):



include_once(dirname(dirname(__FILE__)) . "/default/settings.php");
$conf['site_frontpage'] = "aaa";



(It inherits the general settings.php file since I dont need very different settings per domain)


Created a sites.php file inside sites folder (again starting with php tags):



  $sites['aaa.example.com'] = 'aaa';
  
  $sites['bbb.example.com'] = 'bbb';
  
  .......