ubuntu list enabled sites code example Example: apache show active sites # apache2ctl -S [On Debian/Ubuntu] # apachectl -S [On CentOS/RHEL] OR # httpd -S