Custom Domain not showing up in Deploy

Hey guys! First of all, what a great product you guys have built here. Wonderful stuff and it has been really fun experimenting and doing stuff that I thought I could never do.

So my issue is related with Custom Domains. I’ve set up a custom domain in one of my projects. If I go to Settings > Domains in the project, the domain is there with a blue checkmark on both Valid Configuration and Assigned to Main. All good, no errors messages.

However, every time I try to push a deploy through v0 in my project, I get the random vercel link and not the custom domain at all. In order to deploy my current build to the custom domain I’ve set previously, I’ve got to go back to the vercel’s project again, go to Deployments and after I deploy the first time to the random vercel link, I need to Redeploy and only then it gets deployed to my custom domain.

I don’t really know if I’m missing anything because I get no errors, nothing that says I’m doing something wrong with that custom domain.

Wondering if I could get some help in this matter.

Thank you once again and cheers for everyone!

I’m glad you’re enjoying v0 and Vercel, @joaoferreiraphoto! Custom domains can be tricky, but I have an idea about what’s happening in this case.

When you set a custom domain, it’s typically applied to the production environment and automatically updated to keep up with the latest production deployment.

When v0 makes a new deployment, it goes into a staged environment so you can review it before promoting it to production. You can approve the change by clicking “Promote” on the deployment details page.

After you promote it, the custom domain will be used.

I hope that helps!

Thank you Amy for the response!

So instead of Redeploy’ing again, I just have to do Promote and it automatically promotes to the custom domain? Correct?

But let me also ask, it’s impossible to have the custom domain here? It will only show the random link and/or the custom vercel link.

Or I just have to Promote it once and it will automatically be used for future builds?

Thank you for the help once again!

I’ve tried it again using the Promote. It didn’t apply the deploy to the custom domain. I still need to Redeploy through the Deployments tab.

Really wish there was an option to directly deploy to the custom domain in v0 :frowning:

All you should need to do is Promote the deployment if the domain is already added in Project Settings. The v0 popup shows the unique deployment URL until you promote it to production. After you promote it, the custom domain should appear in the v0 popup.

Future deployments will need you to review and promote deployments before the custom domain is used. Within v0, you can use the “Set a custom domain” option to manually add the domain.

I’ll share your feedback with the v0 team so we can make this easier in the future!

When I promote it, everything goes alright but it skips the assigning custom domains. Is this normal?

In the v0 pop up, the custom domain does show up.