Listar dominios en Apache
De enunpimpam
Para listar todos los dominio y subdomonios activados en los purtos 80 (https) y 443 (https)
apachectl -S
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message VirtualHost configuration: *:80 is a NameVirtualHost default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1) port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1) port 80 namevhost capi.vm.enunpimpam.com (/etc/apache2/sites-enabled/capi.conf:1) alias www.capi.vm.enunpimpam.com *:443 is a NameVirtualHost default server capi.vm.enunpimpam.com (/etc/apache2/sites-enabled/capi-ssl.conf:2) port 443 namevhost capi.vm.enunpimpam.com (/etc/apache2/sites-enabled/capi-ssl.conf:2) alias www.capi/vm.enunpimpam.com port 443 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/default-ssl.conf:2) port 443 namevhost foto.enunpimpam.com (/etc/apache2/sites-enabled/foto-ssl.conf:2 alias www.foto.enunpimpam.com port 443 namevhost pruebauno.enunpimpam.com (/etc/apache2/sites-enabled/pruebauno-ssl.conf:2 alias www.pruebauno.enunpimpam.com