a2query
identify modules, sites and configuration files that are enabled
a2query [-m [MODULES] -s [SITE] -c [CONF] ]
apache2ctl
list all enabled websites, the path to the conf file and the port that is used by the website
apache2ctl -t -D DUMP_VHOSTS
$sudo certbot –apache
to activate HTTPS on Virtual Hosts on the system (follow on-screen instructions after executing this command)
some of the above commands were from this Ubuntu Forum discussion and others from Google.AI query