Although the process itself is straightforward, the change we are making is a foundational one. It affects the server configuration as well as the legacy application structure. To fully effect this change, we will need to coordinate closely with any operations personnel who are in charge of server deployments.
In general, the process is as follows:
Coordinate with operations to communicate our intentions.
Create a new document root directory in our legacy application, along with a temporary index file.
Reconfigure the server to point to the new document root directory, and spot check the new configuration to see if our temporary index file appears.
Remove the temporary index file, then move all public resources to the new document root, and spot check along the way.
Commit, push, and coordinate with operations for QA testing.