Table of Contents

Apache - Troubleshooting - Cannot find /etc/apache2/sites-available/default

Error

Cannot find /etc/apache2/sites-available/default when configuring Apache.


Fix

Newer versions of Apache have the default configuration file named /etc/apache2/sites-available/000-default.conf.

sudo ls /etc/apache2/sites-available

returns:

000-default.conf  default-ssl.conf