I currently have two project spaces in GCP. In project A, I have four domain names managed under Cloud Domains. I would like to migrate these domains to a new project space, project B.
Can someone tell me how to do it or migrate the process? Thank you!
Thank you for the detailed question. From my understanding Currently, Google Cloud Domains does not support a direct migration of domains from one project to another within GCP.
✅ Key Facts:
Cloud Domains are tightly coupled to the project they were created in.
Google Cloud does not provide a built-in migration tool to move domains across projects.
Domain ownership is tied to the project’s billing account and IAM permissions.
📌 What Are Your Options?
1. Transfer Domain Ownership via External Registrar (Not Ideal)
You could theoretically transfer the domain to an external registrar and then re-import it into Project B, but this is not practical for internal project migrations and risks losing DNS configurations.
2. Adjust Permissions Instead of Migrating
Recommended Approach: If you just want to manage the domain from Project B, you can:
Share domain management by adding IAM roles in Project A to users or service accounts from Project B.
Assign roles like roles/domains.admin or roles/domains.viewer to relevant users in Project B.
This gives operational control without physically moving the domain.
3. Recreate DNS in Project B (If Applicable)
If your primary concern is DNS management, you can:
Leave domain ownership in Project A.
Recreate Cloud DNS zones in Project B to manage records.
Update the domain’s nameservers to point to DNS in Project B.
This offers a partial separation while retaining domain registration in Project A.
Thank you for your reply. I want to delete project A, but I want to migrate all the resources before deleting it. Currently, I have transferred all the DNS records, and only the domain name is left.