To list all enabled virtual hosts on the web server, run the following command in a terminal.
# apache2ctl -S [On Debian/Ubuntu] # apachectl -S [On CentOS/RHEL] OR # httpd -S
Last updated 3 years ago