Why does my domain only work with WWW on Shopify?

Topic summary

A user transferred their domain from GoDaddy to a hosting provider and connected it to Shopify using the same DNS records setup as their other sites. However, the domain only works when accessed with the ‘www’ subdomain (www.example.com) and not without it (example.com).

A community member suggests two potential solutions:

  • The primary domain setting in Shopify may need to be changed to the non-www version
  • They reference Shopify’s official documentation on changing primary domains for guidance

The issue appears to be a configuration problem rather than a technical limitation. The discussion remains open pending the original poster’s response about their specific domain name and whether the suggested solution resolves the access issue.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

I connected my domain to Shopify but it needs to add www before the domain (www.example.com) to access my site. I want the site to work without www (example.com).

I have transferred my domain from GoDaddy to hostinger and using the same place to add DNS records as for my other site.

Hi @fahadiqbal , can you share what your domain name is? You may just need to change your primary domain to be the one without the subdomain (www). You may refer to this Shopify doc: https://help.shopify.com/en/manual/domains/domain-type/change-primary-domain