how to check if apache2 virtual hosting configuration code example
Example: find apache virtualhost file
# apache2ctl -S [On Debian/Ubuntu]
# apachectl -S [On CentOS/RHEL]
OR
# httpd -S
# apache2ctl -S [On Debian/Ubuntu]
# apachectl -S [On CentOS/RHEL]
OR
# httpd -S