How To Move an Apache Web Root to a New Location on Debian 8
On Debian 8, the Apache2 web server stores its documents in /var/www/html by default. This directory is located on the root filesystem with the rest of the operating system. You may want to move the document root to another location, such as a separate mounted filesystem. In this guide, you’ll move the Apache document root to a new location by moving the files and changing Apache’s configuration files.