Switching a Cloudflare domain from Shopify to WordPress

I registered xyzsite .com with Cloudflare and connected it to my Shopify store. I’ve recently closed my store and rebuilt it using WordPress under domain xyzsite2 .com. I would now like to make xyzsite .com the primary domain for my website; xyzsite2 .com is a subdomain on my hosting account. I am forwarding all xyzsite .com traffic to xyzsite2 .com, but would like a permanent solution. I updated the domain name in WordPress and updated my DNS records Cloudflare, but then xyzsite .com defaulted to the main domain on my hosting account. What should I do?

I’m not sure I’m clear on the issue here. You should configure your server/hosting for the new domain and then just point that domain there with Cloudflare. Cloudflare does not offer domain masking (without custom code on Workers) so this needs to be done on your server.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.