Embedded app always loads “Example Domain” instead of app UI

Hello Devs,

I’m facing an issue while developing a Shopify embedded app using Shopify CLI (React Router / Remix).

Problem:
Whenever I open my app inside Shopify Admin, the embedded iframe always loads the “Example Domain” page instead of my app UI.

What I have already tried:

  • Deleted the app from Shopify Admin → Apps

  • Deleted the app from Shopify Partners Dashboard

  • Created a brand-new app using shopify app create (React Router)

  • Ran shopify app dev --reset

  • Allowed CLI to automatically update app URLs

  • Opened the app only via CLI preview (pressing p)

  • Verified that the local app runs correctly (http://localhost``:<port>)

  • Did not use GraphiQL or proxy ports as application_url

Expected behavior:
The embedded app should load my local app UI inside Shopify Admin.

Actual behavior:
The iframe always loads https://example.com (Example Domain page).

Environment details:

  • Shopify CLI version: 3.88.1

  • Node version: v22.19.0

  • Framework: React Router (Remix)

It seems like the app’s application_url may still be cached or incorrectly stored on the Shopify backend, even after deleting and recreating the app.

Could you please help check and reset the app configuration or advise how to fully clear the stored app URL?

Hi @Santhosh_Kumar

In your apps toml file, in the build section, is automatically_update_urls_on_dev set to true? See doc here for details on this: App configuration

HI @Liam-Shopify ,
Thanks for the reply, yes it is set to true only. But the url was not getting updated, It keeps the url as https://example.com domain only.

One thing you could try is to add a shopify.web.toml file, see docs: App structure

This tells the CLI that your app has web components and should update URLs. There was a similar issue previous which this fixed updating the URL: Issue with shopify app dev not updating URLs after upgrading CLI - #13 by Lennard

Also have you run shopify app dev clean and then shopify app dev again?