Different home pages based on different conditions?
You could do this in settings.php and define $conf['site_frontpage'] from a server variable like $_SERVER['HTTP_HOST']. The same logic would allow you to set your $base_url(D7) or $settings['trusted_host_patterns'](D8) to the correct domain as well.