I have two subdomains for the same real-estate company. Each domain is targeting a different country.
E.g.
country1.example.comcountry2.example.com
Both subdomains have the same exact styling and hierarchy but different content. How to tell Google not to consider it as duplicated content and not get a penalty?
And what are the best practices to get the best ranking for such scenarios?