Upgrading Apache to Version 2.4 on Ubuntu: Lessons Learned
Last updated:Some things to watch out for when upgrading Apache from earlier versions (2.2 most likely) to version 2.4.
virtual hosts
all entries under
/etc/apache2/sites-availablemust now end in".conf". In addition, the commandsa2ensiteanda2dissitetake the site name without".conf"at the end. For instance, if you create a Virtual Host definition in filefoo.confyou should callsudo a2ensite footo enable it.references