How to move subdomain from one server to another server as main domain?

SYSTEM INFORMATION
OS type and version REQUIRED
Virtualmin version REQUIRED

Latest Virtualmin on Digitalocean ubuntu 20.04

Backed up on server A 1.2.com
Imported on server B as 1.2.com
Now need to have it as 3.com
Removed old 3.com on B
Making new 3.com says dns records exist so error
Made 3.com without dns settings- worked.
Failed to create virtual server : The DNS domain X is already hosted by your DNS server
Something all the time wrong trying clone or move server.
What to do?

------- Update —
ah moving just moves around to existing as subdomain, so i dont need that
was now cloning

Cloning virtual server 1.2.com to 3.com with username 3.com
Creating new virtual server settings …
… done

Checking for clashes and dependency problems …
… clash found : The DNS domain 3.com is already hosted by your DNS server

… cloning failed!

Updating Webmin user …
… done

Re-loading Webmin …
… done

---- Update ----

Failed to clone virtual server : A user with the same name already exists

Removed user and group with that name- still same error.

You can convert a subserver into a parent server in the Move Domain page.

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