ls /etc/apache2/sites-enabled/

Category: Web Servers & Proxies

ls /etc/apache2/sites-enabled/

List Apache sites currently enabled

Each entry is a symlink into sites-available created by a2ensite, and each one is a live virtual host (vhost = one site served by one server). The link name shows which site config Apache loads. Compare with sites-available to see disabled sites.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.