Custom domain returns 404 error while .vercel.app domain works correctly

Hi everyone,

I’m experiencing an issue with my custom domain configuration and could use some help. My Vercel deployment works perfectly on the default domain, but returns a generic server error on my custom domains.

Problem

When accessing my custom domains (vocdive.com or www.vocdive.com), I get this error:

Not Found
The requested URL was not found on this server.

However, when I access the project via the Vercel domain (voc-data.vercel.app), the site loads perfectly.

Project Details

  • Framework: Next.js 16
  • Project: voc-data
  • Custom domains: vocdive.com and www.vocdive.com
  • Vercel domain (working): voc-data.vercel.app

What I’ve Verified

  • Both custom domains are properly added and verified in my project settings
  • DNS is correctly configured (CNAME pointing to Vercel)
  • SSL certificate is valid and issued
  • Domain passes all Vercel domain checks (DNS, certificate, nameservers)
  • DNS provider confirms everything is configured correctly on their end
  • Latest deployment is in READY state and set as production
  • Issue persists in incognito mode and across different browsers

This appears to be a routing issue on Vercel’s infrastructure side, as the domain resolves to Vercel but isn’t routing to my deployment. Any help would be greatly appreciated!

There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.

A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.

Looks like it works now. Can you confirm?

yes, all is working now, thank you! I guess it took some time to fully propagate.

1 Like

Many such cases. Thanks for coming back to tell us it’s working!