Change domain setup from manual to github integration

What is the name of the domain?

tlgtvs DOT org

What is the error message?

That domain is already associated with an existing project. Use a different domain or find the project already using this domain and remove it.

What is the issue you’re encountering

Add custom domain to workers & pages

What steps have you taken to resolve the issue?

Deleted all dns records, reading docs

What are the steps to reproduce the issue?

Hi, I’m new to cloudflare. I registered a domain and things were going well. I was able to create a first astro projet and manually deploy it to cloudflare (apex domain and also a dev branch/subdomain).

Next, I tried the github integration, that worked well too.

Finally I wanted to use my domain and point it to the github integration deployment but I’m told the domain is already taken.

My 2 deployments are here:

Instead of using my domain for the manual deployment I had when I started, I would now like to use the domain for the github integration deployment.

What should I do next? I tried deleting the domain but since it was registered with cloudflare I can’t do that either. There’s something I am missing.

Any help will be greatly appreciated, thank you.

Sure.

And that’s right there in the very error message you posted (emphasis mine):

That domain is already associated with an existing project. Use a different domain or find the project already using this domain and remove it.

Go to the previous Pages/Worker project and detach the domain/subdomain from it.

Ah, I thought I had a single project but I found the origial one (I did have 2). I was able to delete the domain from the first one (manual install). Thanks for insisting, things should be working fine for me now.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.