We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Redirect main domain to 2 separate accounts with subdomains.

Solved

Redirect main domain to 2 separate accounts with subdomains.

TLC_James
Visitor
2 1 0

Hello,

We have to have 2 accounts for our business one for the US and one for the UK. Because they are 2 separate legal entities (Payments Gateways, Xero Accounts, Shipping etc.)

 

What we want is based on the visitor's location to redirect them to a different account. 

 

For instance if a visitor types example.com and is located inside the US then the visitor will be redirected to the Shopify account that has the domain us.example.com and if the visitor is from the UK to the uk.example.com.

 

We tried using Cloudflare and utilizing the page rules but we can't create the records required due to errors from Cloudflare.

 

We also suggested creating a third Shopify account and assigning the main domain to it and then using apps like Omnishop to redirect the visitors to the correct account.

 

Is there a way for this to be done?

 

Many thanks!

Accepted Solution (1)

TLC_James
Visitor
2 1 0

This is an accepted solution.

Please ignore we managed to resolve this. 

View solution in original post

Replies 2 (2)

TLC_James
Visitor
2 1 0

This is an accepted solution.

Please ignore we managed to resolve this. 

SDMixx
Visitor
1 0 0

Hi there,

 

We're having the same issue, could you tell me how you resolved this?

 

Many thanks!