Shopify: There’s no page at this address Check the URL and try again, or use the search bar to find

Topic summary

Issue: A Shopify app built from the official PHP template (Laravel + React) works in development but fails after deployment to an AWS subdomain (e.g., sub.mydomain.com) during post-authentication redirect.

Setup: Frontend was built with SHOPIFY_API_KEY=MY_API_KEY npm run build, and composer build was run. Authentication succeeds and the session is saved in the database.

Errors observed:

  • Browser console: postMessage origin mismatch (Shopify admin domain mystore.myshopify.com vs app domain sub.mydomain.net). postMessage is a browser API for cross-window communication; it requires matching or explicitly allowed origins.
  • After redirect: Shopify admin returns a 404 on an /admin/apps/… URL, showing “There’s no page at this address.” A screenshot (1.png) illustrates this error page.

Implication: The mismatch suggests a cross-origin/redirect configuration issue between the embedded app and Shopify admin, leading to failed communication and a not-found route in Shopify.

Status: No resolution provided. Another participant reports the same issue and asks for updates, indicating the problem remains open.

Summarized with AI on February 13. AI used: gpt-5.

I’m new to Shopify App development. I’ve developed an app using a php template provided by shopify. It’s using Laravel & React. It’s https://github.com/Shopify/shopify-app-template-php/tree/cli_three

When I execute npm run dev, the app is running in the development store.

Then, I deployed my app on the AWS server using one domain (e.g: sub.mydomain.com).

Before deployment: I have build the frontend using: SHOPIFY_API_KEY=MY_API_KEY npm run build I’ve run composer build too.

After that, I tried to install the app. While doing so, It’s authenticating and saving the session in the database too. But, on redirecting after authentication, it’s not working,

First, It’s giving this error on console:

Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://mystore.myshopify.com’) does not match the recipient window’s origin (‘https://sub.mydomain.net’).

And then after redirect, it’s displaying:

Along with console error:

GET https://mystore.myshopify.com/admin/apps/40aac89c4c56232219d0f1f75a1f2ae7/?hmac=68236dae6688aafd05925cf409dfff0965236542401999f8ff47decd8b942d&host=cW9kZWFuYWx5dGljcy5JKihgZnkuY29tL2FkbWlu&shop=mystore.myshopify.com&timestamp=1657698129 404

2 Likes

Any news on this? I’m having the same issue.