DNS

Geolocation Routing

When you enter google.com, the DNS servers will resolve to different IP Addresses depending on where you are located. Google directs your request to the nearest available server to provide fast and reliable service.

How do they know where I am located?

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-geo.html

Determining what language to serve the user

When you use geolocation routing, you can localize your content and present some or all of your website in the language of your users.

This is probs why they know that I am in canada when I do amazon.com. And this is why you should use a