Apache allows using any directory as document root for you site. So if you edit configuration file (for cPanel they are located in /usr/local/apache/conf/) and restart apache, it will work.But it is not recommended to perform manual config changes, if you are using cPanel.