Redirect xxx.myshopify.com domain to Gatsby Website homepage

Hello, I have developed a static website with Gatsby, using Shopify for inventory management and checkout processing. After spending hours researching on this community it seems impossible to host the checkout on a subdomain / domain and that’s ok, I made my peace with it. At the end of the day the Shopify subdomain for checkout is perfectly fine.

But if a customer navigates to website.myshopify.com get’s an error page that the shop doesn’t exist since I do not have Shopify Store and I just pay for the Lite version, however the Shopify domain works for the checkout.

I saw on this Community a webiste made with Gatsby which redirects to website.myshopify.com for the checkout but by visiting that URL directly it gets redirected to the gatsbywebsite.com.

How it can be done? It seems that I can’t contact Shopify support directly and this is something that really can compromise any selling.

Thank you in advance for any answer.

@sardiniadev – can you share the link to that store that you saw implementing what you’re looking for? I assume they aren’t on the Lite-plan and are using a JS/HTML-redirect. That’s pretty easy to implement in your theme.liquid, but really, that’s just a guess. I doubt it works, as there is a denylist in the docs, but possibly you could also set up a redirect; I’ve never tried doing so for the root URL, but that might work.

Mario