Shopify + Worker + DNS Configuration

What is the name of the domain?

What is the error number?

500

What is the error message?

Internal Server Error

What is the issue you’re encountering

I am trying to setup shopify with cloudflare and configure the DNS in order to use workers to route my traffic, but I am unable to setup DNS. I have followed O2O guide to setup. Cofig: “c name - @ - shopifyurl - proxied”, “c name - www - shopify - proxied”.

What steps have you taken to resolve the issue?

I have followed the O2O guide for shopify and also implemented solution posted in Discord.

What feature, service or problem is this related to?

DNS records

Screenshot of the error

So you have created 2 CNAME records with the names @ and www and the value shops.myshopify.com?

Right now, your shop works for me. Did you make any changes?

Yes, In my shopify domains www.mcgrocer.com redirects to mcgrocer.com. Right now I have restored the DNS config back to using A records, hence it is working.

So you have created 2 [CNAME] records with the names @ and www and the value shops.myshopify.com ?

Yes.

Could you make the changes again for a moment and then perform a trace to see if there are any problems?

I have updated it and here’s a screenshot:

It seems you have created the wrong CNAME records, please ensure you’re pointing at shops.myshopify.com. Nowhere does it say to use your own shops address for the CNAME.

1 Like

Updated:

But the 500 error persists:

Can you now run the trace that I linked above?

1 Like

My Account doesn’t have access to run trace.

Every account has access to run trace.

1 Like

I was given limited access by the account owner I work for

1 Like

Oh, ok. I misunderstood that.

Is this a live website where the downtime hurts you or can you leave it like this for a moment?

1 Like

Yes, I have changed it back to A record, I can’t take the site down for long time.

Is this a live website where the downtime hurts you or can you leave it like this for a moment?

I can for 15-20 mins

If at all possible, I would recommend that you contact the account owner and have them perform a trace (https://dash.cloudflare.com/?to=/:account/trace) after you make the change again.

Could you just quickly check if using DNS-Only CNAME records work or have the same error?

2 Likes

Could you just quickly check if using **DNS-Only** [CNAME](https://community.cloudflare.com/t/adding-dns-records/52718) records work or have the same error?

DNS only works for mcgrocer.com
Not working for www.mcgrocer.com

1 Like

Now working for both the urls when using DNS only.

1 Like

I was about to recommend that you create a support ticket, but a Cloudflare employee has already read this and confirmed this looks like a CF issue, so they’re looking into it.

2 Likes