Next.js Discord

Discord Forum

Using Platforms - Custom Domain doesn't work

Answered
Argente Brun posted this in #help-forum
Open in Discord
Argente BrunOP
I am using PLATFORMS BOILERPLATE w/ latest NEXTJS CANARY RELEASE.

So I have been trying to make this work, have reinstalled, and followed the guide word-for-word. I'm not able to get custom domains to work on the app.

This first picture is what I see, and it just keeps retrying, but never succeeds. My CNAME and/or A records are there, and have had plenty of time to propagate.

I have the AUTH_BEARER_TOKEN populated, a null TEAM_ID_VERCEL in my ENV file, and the appropriate project ID as well.

Not sure what I'm doing wrong.
Answered by Argente Brun
I figured it out. Removed TEAM_ID_VERCEL from the env entirelly, or remove the TEAM_ID flag in the domains.ts in the lib folder.
View full answer

1 Reply

Argente BrunOP
I figured it out. Removed TEAM_ID_VERCEL from the env entirelly, or remove the TEAM_ID flag in the domains.ts in the lib folder.
Answer