Google’s John Mueller was asked what’s the right way to target a specific country with a website. The person asking the question asked if a country code top level domain specific to the country and the location of the hosting was important.
Is a ccTLD Necessary to Rank in a Specific Country...