Thank you! You’re a lifesaver.
In case anyone stumbles across this thread in the future with a similar issue: I had to run Search-Replace once to replace original.com with xyz.com, then a second time to replace xyz.xyz.com with xyz.com. After that, everything worked.