How to fix a 500 error after setting a primary domain?

Topic summary

Primary issue: After buying a domain from Shopify and setting it as the primary domain, a 500 (Internal Server Error) appears, blocking access to both the storefront and the admin, including via the .myshopify.com URL.

Troubleshooting suggested: The 500 error is likely a temporary server-side issue at Shopify. Recommended steps include: clearing browser cache/cookies, trying a different browser/device, using incognito/private mode, and changing the internet provider.

Access concern: The user cannot reach the admin to revert domain settings or make changes, even through the default .myshopify.com domain.

Domain type clarification: The domain is purchased directly from Shopify (not third-party), so third‑party DNS setup guidance may not apply. A staff reply noted that for third‑party domains, DNS changes can take up to 48 hours and suggested using .myshopify.com in the meantime.

Status: Unresolved. The error persists across multiple attempts. Key open question: how to regain admin access or adjust domain settings when a 500 error blocks the admin entirely.

Summarized with AI on January 15. AI used: gpt-5.

Hello, I have just finished my website and bought a domain.When I made the domain primary, I got the 500 error, and I could not get in there to fix it. How do I fix it?

Hello Kosta8,

Thanks for reaching out to the community!

Error 500 is a temporary glitch or a general server problem, which is from Shopify’s end, and usually, Shopify developers resolve this issue within a few hours. If the issue continues to persist, then I would recommend you do the following:

  1. Clear cookies and cache files from the browser
  2. Change the browser to access the Shopify store
  3. Use different device
  4. Try accessing the Shopify store using incognito or private mode
  5. Change the Internet Service Provider

Hope it helps!

Leesha

SEOKart

Yes, it makes sense, but how can I change the domain if I can not access the admin panel because of this error?

Hi there, @Kosta8

Is this a third party custom domain? If so, have you edited all the DNS settings as per this guide? If so, you then need to wait up to 48 hours for these changes to apply.

During this 48 hour period, you can use your .myshopify.com domain until the custom domain is ready to be the primary domain. Thank you!

When I go to “myShopify.com” and log in using my Shopify credentials, this takes me to the admin panel, and again this error 500, I tried it several times and it does not work. I don’t know what else to do.

No, this is not a third-party custom domain. I bought it yesterday from Shopify website itself, and when I made it primary it gave that 500 error.