1 min read

[Solution] How can I list the current Apache 2 virtual hosts from the command line

Sometimes you need to get your virtual host file, you can get them by : a2query -s or apachectl -S  

Sometimes you need to get your virtual host file, you can get them by :

a2query -s

or

apachectl -S

 

Linux Jan 22, 2019