Redirect 1 domain to 2 backoffices

Hi everyone,

I have a 301 redirection matter.

I have a shop, let’s say www.exemple.fr (on Salesforce Cloud CMS). This domain uses folders to adress different languages.

For exemple :

www.exemple.fr/en for England

www.exemple.fr/de for Germany

www.exemple.fr/fr for France.

I need to migrate this domain to shopify. For shipping and currencies matters, we will have 2 backoffices and 2 domains.

www.exemple.fr for France

www.exemple.com for Other countries.

I guessed the migration plan would be :

www.exemple.fr/fr redirects to www.exemple.fr

And www.exemple.fr/de redirects to www.exemple.com

Shopify support told me it was impossible to connect 1 domain to 2 backoffices (logical).

But how can I create redirections from 1 domain to 2 domains ?

Can somebody help me ?

Thank you for your help,