[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# How to Point My Domain to Both Vercel and Shopify Using A-Records?

116 views · 0 likes · 2 posts


Fredrik Johansson (@fjohansson) · 2024-08-22

I’m new to this topic, so I’m not sure if my question makes sense. Here’s my situation:

I’ve created a theme on Shopify, and my frontend is hosted on Vercel. Shopify requires me to connect my domain using an A-record (my domain is registered with GoDaddy). However, I’ve already used the A-record to connect Vercel to my GoDaddy domain.

How can I configure my domain to work with both Vercel and Shopify? What’s the best way to solve this issue?


Pauline P. Narvas (@pawlean) · 2024-08-22

Hi, @fjohansson!

This makes sense! Quick question: what are you using your Shopify for? Is it a backend, or more like an extension i.e. a shop?

I actually had a similar issue recently with a side project (although it was a Headless CMS with WordPress one, not Shopify). This is how I set it up:

* **Main Domain (`yourdomain.com`)**: Keep this connected to Vercel by using the A-record that points to Vercel's IP address.
* **Subdomain for Shopify (`shop.yourdomain.com`)**: Use a subdomain to connect to Shopify. You'll set up a CNAME record for this subdomain.

Let me know if that helps!