Rubah vhost config file (kalau saya pake .conf) pada path /etc/apache2/sites-available/domain.com.conf, yang di nyalakan hanya .conf http saja, yang -ssl.conf disable saja pake a2dissite domain-ssl.com.conf. Ubuntu yang saya gunakan versi 18.04 LTS
<VirtualHost *:80>
<Directory /var/www/exemple.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
DocumentRoot /var/www/exemple.com
ServerName www.exemple.com
ServerAlias exemple.com
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName exemple.com
DocumentRoot /var/www/exemple.com
<Directory /var/www/exemple.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# A self-signed (snakeoil) certificate can be created by installing
# the ssl-cert package. See
# /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
# If both key and certificate are stored in the same file, only the
# SSLCertificateFile directive is needed.
SSLCertificateFile /etc/apache2/ssl/ftaelectronics.com/XXXXXXXXXXXcrt
SSLCertificateKeyFile /etc/apache2/ssl/ftaelectronics.com/XXXXXXX.key
SSLCertificateChainFile /etc/apache2/ssl/ftaelectronics.com/XXXXXX.crt
</VirtualHost>
</IfModule>
restart apache atau reload
#systemctl restart apache2