After changing the default directory to store website content (e.g. "/home/vhosts"), it is not possible to access the content of subdomains and additional websites over the Web.
This problem occurs if SELinux works in "Enforcement" mode. In this mode, webroot directories for websites and subdomains inside them have different permissions, and your web server fails to access them.
Change SELinux context using the following commands:
# semanage fcontext -a -t httpd_sys_content_t "/home/vhosts(/.*)?" # restorecon -R -v /home/vhosts
Reboot the server.