Duplicated project is coupled with the first project's custom domain

Hey everyone,

I was looking at setting up some templates of a successfully deployed and active project by duplicating it and then continuing to build (not a separate brand but a whole different entire project with the same starting point).

Let’s call them Project A and Project B.

I built and deployed Project A to a custom domain. Happy with it, I duplicated the project which is now Project B, planning to give it a different design style.

The problem is Project B has the same domains as Project A. When I try to remove Project B’s domains it ALSO remove Project A’s. When I try to add custom domains to Project B it changes the domains on Project A’s.

There is no database and I have already queried the code to ensure it is its own unique code base and there aren’t any references to the previous app.

I’ve read through the help articles here:

Can anyone please share how to successfully duplicate ie start a fresh chat from another app and decouple the custom domains such that they both can be unique? I duplicated other projects before successfully but this just seems to happen when they are your own project on a custom domain.

EDIT: I have not linked this with a GitHub repo either - it’s a very basic build with little dependencies.

Hey there, @ashamplifies! Just checking in on your issue with Project B having the same custom domain as Project A. Have you found a solution, or do you still need help with this? Excited to help!

1 Like

Hey @pawlean thank you so much for following up on this :blush:

I couldn’t get the domains to decouple so to avoid the impact to Project A my solution was to rebuild Project B from scratch in a new chat.

What would help to know for future projects is what is the expected behaviour when duplicating a v0 chat that is published (live) with a custom domain.

When I duplicate a v0 Project A (with live domain) is the duplicated chat, Project B, supposed to…

i. have ALL of Project A’s domain settings and configurations set up at the time of duplication
ii. be a duplicate of code only and will have no domain configuration (users will need to set this up fresh)

and if (i), removing or changing Project B’s domains should not change or affect Project A’s domain settings, right?

This helps me decide whether to duplicate projects before I add a custom domain in the future :blush: Appreciate your help and insights.

Just for reference I’ll add I’m using the duplication option here:

Custom domains should be blank right?