dynamic URL routing in Django with React

I am building an E-Commerce site. My requirement was I want to change the domain based on user visiting location(IP/any other media). ex: if a user visits my website from the USA the domain should be: domain.com/usa. or else a user visits my website from India my domain should be: domain.com/india. How can I implement this type of logic in Django?

Technologies I am using: Django with React.