I have setup CNAME record for domain1.com as follows: Hostname: xyz Target Hostname: domain2.com. When I go to xyz.domain1.com it's loading the default IP address page of domain2.com instead of loading domain2.com website. Thank you!
Did you add the domain as alias or subdomain to the website as well? If its not the main domain of the second site anyway.
I didn't add anything for domain2.com --am I supposed to add anything for domain2.com? The target domain is the main domain --domain2.com