Command
sudo apache2ctl -SExplanation
Displays all enabled virtual hosts and their configuration.
Examples
Show virtual host settings
sudo apache2ctl -Ssudo apache2ctl -SDisplays all enabled virtual hosts and their configuration.
Show virtual host settings
sudo apache2ctl -S