I am having a couples of issues with my new website:
1. DNS configuration issues for my test environment
2. Some inners pages showing an error in production when they work fine locally
FIRST ISSUE: DNS configuration issues for my test environment
I have configured 3 domains for my project (see screenshot).
- evocoach.fr - this points to my master branch, which is the production environment
- www.evocoach.fr - this redirects to evocoach.fr
- test.evocoach.fr - this points to my develop branch, which is the testing environment
The first two work fine and I can see my website after pushing it to master.
The issue comes with the last one, I am seeing an error in my configuration saying that the CNAME cannot be detected and I have an invalid configuration.
I have tried the following steps:
- Added the CNAME directly to my third party hosting provider - this didn’t work
- Changed the nameservers to Vercel nameservers and added the CNAME in vercel directly - this didn’t work either.
Note: with both configurations the master branch and domain work fine.
Can you I have some assistance here?
SECOND ISSUE: Some inners pages showing an error in production when they work fine locally
This one is straightforward, I have some inner pages that are showing a 404 error in production when others work fine.
Example of 404 pages:
Example of page working fine:
Can I please understand why these pages are showing 404 while they are building and working fine locally?
Thanks for the help!