Add SSL Certificate from commercial organization in Apache:

Edit virtual host file: longwise.conf

# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/longwise_dataclub_com.crt #from the organization
SSLCertificateKeyFile /etc/apache2/ssl/longwise.key # generated with the CSR code
#SSLCACertificateFile /etc/apache2/ssl/ssl/ # not needed



disable directory listing

Set multiple document roots in different locations
Edit /etc/apache2/apache2.conf
or edit virtual server's configuration file such as dataclubus.conf

Options Indexes FollowSymLinks
Options FollowSymLinks
AllowOverride None
Require all granted
a2dismod autoindex

Enable Use of PHP Version

sudo a2dismod php7.0
sudo a2enmod php7.4

Apache Notes