Client wants to swap account data between two different accounts hosted with WHM/cPanel
<p>I have a client with two different cPanel accounts hosted on my server under WHM running CentOS.</p>

<p>Account A is hosted with its own IP address and domain name and is the current 'live' website. The site is running a custom Laravel backend with an attached MySQL database. </p>

<p>Account B is hosted as a vps using the servers main IP address with a different domain name and is the 'test' site. The site is running wordpress with an attached database. </p>

<p>Both domain names are hosted on godaddy under the same account. </p>

<p>The client wants the test account B to be hosted under the live account A's IP and domain name, and the live account A to be hosted under account B's IP and domain name, effectively 'swapping' the test site to be the live site. They want little to no downtime in this swap. </p>

<p>The main problem is neither I nor the client know how to do this swap with little to no downtime. Is it possible or is downtime inevitable? </p>