Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Next.js Vercel associating Shopify with 3rd Party Domain

Next.js Vercel associating Shopify with 3rd Party Domain

Streeter
Shopify Partner
16 2 8

Hello Community,

I have built a Shopify storefront with Next.js that I hosted on Vercel. I am preparing to launch it but have run it some issues regarding Domain connections between Shopify and my store  that have me very confused and I was hoping for some help our guidance. 

Our system Design:  Vercel is hosting our Next.js StoreFront,  which has DNS record set in our domain registrar  AWS (route53),  our email provider  Zoho also has DNS records applied to our AWS (route53) domain. We have a SPF DNS record from shopify  in our AWS (route53) domain as well

1. Do I need to associate my Domain Registrar ( aws route53) with DNS records from Shopify, in order to get notification emails working with the correct links back for activating new customers who register an account ?

2. I
f it is necessary to associate a 3rd party Domain to Shopify to get full functionality by changing the DNS A and CName record  ( A record  IPv4 address is 23.227. 38.65  and the CNAME record address "shop.myshopify.com',)  then how  do others who are using Vercel host their Next.JS storefront apps since it is necessary to have an  A record that list my 'shopname.com'  and a CNAME record name 'www.shopname.com ' that points to 'cname.vercel-dns.com' )  in order for the site to load?

3. Are the DNS Domain set up issues the reason our url for checkout is  'storename.mysphopify.com/checkout' and 'storename.com/checkout' which would like it to be?


 (If that last question is confusing, I am basically saying that the same DNS record need to host the Next.js Vercel site are same ones the Shopify Docs seem to suggest need to be set with different values.)

I have managed to connect and authenticate our shopify store  to Zoho Email, ( which means, I have authenticated the email  'support@storename.com', so now when I do a test of a notification, I can correctly see that the email is coming from sender ( 'support@storename.com'), but when I click the link it wants to send the user {storename.myshopify.com/{token} for activation. 

 

While I have been able to create a new customer through our next.js app, I am unable to get shopify notification to actual trigger/dispatch and activate email to the new customer.


I have noticed issues regarding the inability of notifications to be triggered when sending new customer emails and the inability to switch from   {storename}.myshopify.com/checkout to my domain {storename}.com/checkout.

Replies 2 (2)

frontage
Shopify Partner
1 0 0

Hi @Streeter ,

 

Running into the same issues as you here, did you happen to find a solution?

ps-store
Visitor
1 0 0

Having the same problem here.