I’m facing a persistent “Failed to start: failed to fetch” error on my custom domain, amegle.me. This only happens on the custom domain; the website works perfectly via the Vercel-generated link.
I have already tried all the standard troubleshooting steps, but the “Invalid Configuration” warning remains on my Vercel dashboard.
How can I get Vercel’s system to validate my domain correctly so that the website works on my custom domain?
Backend: Node.js/Express on Render’s free tier.
Frontend: Vercel (Next.js)
Steps Taken:
Correctly configured A and CNAME records on my domain registrar (Namecheap) as per Vercel’s instructions.
Verified global DNS propagation using dnschecker.org. All records show as correctly propagated.
Updated my backend’s CORS policy to explicitly allow https://amegle.me.
Set up an external service (UptimeRobot) to ping the backend every 10 minutes to prevent it from spinning down.
Removed and re-added both amegle.me and www.amegle.me from my Vercel project’s domain settings.
The issue persists despite all these steps.
Project Information (URL, framework, environment, project settings)
Project URL: https://stranger-chat-web-l3ao.vercel.app/
Custom Domain: amegle.me
Frontend Framework: Next.js
Backend Hosting: Render
Problem Endpoint: https://stranger-backend-fuo7.onrender.com