If you have recently updated Apache from 2.x to 2.4 on Ubuntu, you may have found that your named virtualhosts stopped working.
The fix is a simple procedure, do these for each of your virtual hosts in /etc/apache2/sites-available/:
- Add .conf to each site’s filename
sudo mv sprisemedia sprisemedia.conf
- Enable this site again in Apache
sudo a2ensite sprisemedia.conf
Do this for all your virtualhosts and restart Apache.