TL;DR: I have a next js website that is working on all vercel domains (production, and preview domains). When I try to use a custom domain they return a page that looks like the screenshot below:
- Vercel domain: https://tasmto.vercel.app/
- Custom domain: http://www.tasmto.com/
- GH repo: https://github.com/tasmto/portfolio/
The site is in a subfolder named web but I have already configured that on vercel and I've made sure Next.js is the selected framework.
What I've tried so far:
- Pointing the domain through an A-record and using nameservers.
- Deleting the entire vercel project and trying again.
- Pointing a subdomain to the app instead off myt apex domain.
- Redeploying the app.
The site works when I use 100% Netlify but for some reason Vercel just doesn't want to serve an already working site to my domain and I am stump'd.
Thank you so much in advance (any advice or ideas will help).
PS: I know variations of this questions have been asked but either I'm too dense to apply the solutions or I've misconfigured something else somewhere.