I have a multi-site setup on two different domains (actually subdomains) with a single Craft install. I have modified
config/general.php file to make it work on both the subdomains. Each domain has different template set completely independent of each other. However, Live Preview will work on entries created for only one sub-domain (one that is specified in the control panel). The option is not available for the other subdomain. This is because the public link for the entries corresponding to second subdomain is being parsed as those belonging to the first subdomain. Obviously those links are giving 404 error and hence the Live Preview button is not active.
Is there a way to tell craft that certain entries belong to a specific subdomain?