---

How to List All Virtual Hosts in Apache Web Server

On Debian/Ubuntu, the recent version of Apache configuration files for all virtual hosts are stored in the /etc/apache2/sites-available/ directory, which makes it really difficult to go through all of these virtual host configuration files to fix any configuration errors.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis