Show different domain based on geographic location of website visitors

I have two domains. One is website. com while the other is for Australian market only website. com. au.

I have added both to my Cloudflare account.

Now I want to show the .COM. AU domain to all those people coming from Australia and .COM to people coming from other countries.

There is only one website behind both these domains, both domains are connected to the same hosting and show the same website. I need to show .COM. AU url to Australian audience just to make the website more native for Australia and make it look like more Australian rather than a broader website.

Please help me I couldn’t find it anywhere. Even ChatGPT could not give me a solution.

Create a single redirect to redirect visitors from Australia to the .com.au domain.

1 Like