Suppose I have a SQL Server 2016 Instance, on a Windows Server 2012 R2 operating system (Henceforth referred to as SQLMachine). SQLMachine is joined to Domain1, and the SQL instance has the Administrator user of Domain1 in the SQL sysadmin role (and the therefore the Windows Administrator user can login with admin rights to the SQL instance using windows authentication). I want SQLMachine to leave Domain1, and I want to join SQLMachine to Domain2, but I want to have the SQL instance on SQLMachine to function, preserve all the database data, and basically work the same on Domain2 as it did on Domain 1 - except obviously the Windows Authentication Admin credentials will be different. Domain1 and Domain2 are unrelated to each other.
What is the proper way to do this? Is there perhaps a free tutorial online? I'm not sure how to search for this using a search engine.
Thanks for your time.