check enabled sites apache2

Command show exact result

$ a2query -s

Check site-enabled*.conf + httpd.conf files and show you if the syntax is correct and the list of virtual host

$ apache2ctl -S


Leave a Reply