New dev platform dashboard issue with dev stores with custom domains

Hi there, I have a dev store with custom domain assigned to it like: xyz.com while myshopify store address is like: abc-sdf-dev.myshopify.com so on the new dev platform here https://dev.shopify.com/dashboard/<org id>/stores when I try to login to the dev shop it redirects me to this url https://admin.shopify.com/store/xyz instead of https://admin.shopify.com/store/abc-sdf-dev this causes an issue:

There’s a problem loading this page

There’s a technical problem with Shopify that has prevented this page from loading. Try reloading this page or going back to the Stores List page.

This also causes another issue related to Shopify CLI, when I try to start app dev server npm run dev which is shopify app dev command, CLI can’t find shop (same shop I described above) saying:

Could not find Store for domain xyz.com.myshopify.com in Organization <Organization>

So CLI picks wrong shop domain instead of xyz.com.myshopify.com it has to be abc-sdf-dev.myshopify.com

Hi @Yurii_Movchko

From digging into this, it looks like this behaviour could be caused by an issue on our side. We’re investigating this now.

1 Like

Have the same issue, seems when you run shopify app dev, it changes the toml to be the main store domain (custom one) so you’re unable to overwrite

```
ou are not authorized to use the CLI to develop in the provided store: │
│ *****.com.myshopify.com │
│ │
│ Next steps │
│ • Ensure you have logged in to the store using the Shopify admin at │
│ least once. │
│ • Ensure you are the store owner, or have a staff account if you are │
│ attempting to log in to a development store. │
│ • Ensure you are using the permanent store domain, not a vanity domain.
```

Hey there, a fix for this issue will be included in the next CLI release.

In the meantime, to unblock you, can you try with this CLI snapshot and let me know if it works as expected?

npm i -g @shopify/cli@0.0.0-snapshot-20251003083328

I recommend to go back to the “latest” release once it is out though!

2 Likes

Hi guys, thanks for the update, in my case it’s not a big issue so I just made .myshopify.com domain of the store as primary and custom *.com as redirect to .myshopify.com, it fixes both issues dev dashboard and cli.

As for Isaacs update on the issue, I’ve just updated cli to the suggested snapshot and it works fine with the custom domain for me but moving back to latest version as it’s not a blocker for me.

I’m also experiencing an issue when trying to connect via the shopify cli for my shopify app… Even though I have 2 dev stores in my dev dashboard…

“Looks like you don’t have any dev stores associated with coltrane’s Dev Dashboard. Create one now. “

Is this related to the mentioned issue?

Hi @Coltrane_Nadler

I don’t think your issue is related to the custom domain issue - unless the dev stores have custom domains. Can you open a new topic for your issue?

For the custom domains issue, we’re working on a fix and I’ll update here once it’s released.

Looks like this is working now in latest stable cli: @shopify/cli/3.87.1 darwin-arm64 node-v20.12.2

I did have one additional complicating factor which is that we renamed our myshopify domain, and it only works when the original myshopify domain is used as the dev_store_url.

1 Like