Met onderstaand commando zie je snel welke sites er draaien op http.
apache2ctl -S | grep 'port 80' | awk '{print $4}' >domains-http.txt
cat domains-http.txt
Wil je ook https weten:
apache2ctl -S | grep 'port 443' | awk '{print $4}' >domains-https.txt
cat domains-https.txt