Server domain not managed by ispconfig
short description
I have a server with domain like www.mydomain.com, when I create on ISPConfig the domain www.mydomain.com it doesn't works because www.mydomain.com is apache base domain, so it's handled by apache on the /var/www/html folder instead of /var/www/clients/clientx/weby/web. Domain SSL certificate is saved on /etc/pki/tls folder instead of /var/www/clients/clientx/weby/ssl.
correct behaviour
When I create the www.mydomain.com domain on ispconfig, its main content must be handled on /var/www/clients/clientx/weby (web and ssl).
environment
Server OS: CentOS Server OS version: CentOS7 ISPConfig version: 3.1.5
--- Apache
Server version: Apache/2.4.6 (CentOS)
Server built: Apr 12 2017 21:03:28
PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
PHP 5.6 and PHP 7.1 are also installed.
proposed fix
Make www.mydomain.com works as ispconfig domain.