Hi Vercel Community & Team,
Project: memeduck (Hobby plan) Custom Domain: www.memeduck.in / memeduck.in
Issue: Dynamic Single Page Application (SPA) rewrites configured in vercel.json (/post/[id], /profile/[username]) work properly with HTTP 200 on the raw deployment URL.
However, the exact same routes return a Vercel Edge 404 NOT_FOUND when accessed via our custom domain (https://www.memeduck.in/post/123) or assigned domain alias (memeduck-five.vercel.app).
Configuration Details:
- The domain shows "Valid Configuration" with blue checkmarks in the dashboard.
- Domain is assigned to the active Production branch (main).
- We have already verified the rewrite rules and tried removing/re-adding the custom domain, but the edge nodes continue serving 404s for dynamic routes on the custom domain while serving 200s on the raw deployment hash.
Could someone please help check why edge routing fails for rewrites on custom domains?
Thank you!