Hi all,
We've had a custom domain setup against a Worker for a while, it splits traffic between 2 origins based on path. Ready now to move it back to the Pages project it used to be setup against and getting the following error: "That domain is already associated with an existing project. Use a different domain or find the project already using this domain and remove it.".
Here's the steps I've followed:
- Deleted the entry under "Domains & Routes" for the Worker
- Checked DNS, the Worker entry has gone
- Attempted to assign the custom domain to the Pages project
We've got a few domains using this setup, a Worker that splits traffic to Pages projects under the hood.
I can achieve the same with Snippets that are in Beta, but ultimately we've been using Workers to help us with the strangler fig pattern migrating our sites from Gatsby to NextJS.
Also trying to achieve this without any downtime if possible.
Anyone had something similar?