Category: Vercel and hosting

Vercel: domain indicates another project and returns 404

Read this guide in Polish

The preview works, but the custom domain returns an error page from another service.

How to identify the source of the problem

Check domain assignment in Vercel and DNS records for active zone.

Compare SHA commit, the status of deployment and HTTP response under the final domain, not the very status of READY.

Repair steps

Attach the domain to the right project and remove conflicting entries as instructed by the platform.

How to Test Solution

The own domain shows the same version of the project as the correct deployment preview.

Security and restrictions

Keep the previous active deployment until the new one is confirmed under your own domain. Avoid writing secrets in logs.