Hello. I'm Dean Clatworthy

I build websites for a living. PHP/MySQL, Javascript, CSS, HTML5

06 June 2015

After spinning up a new server today at DigitalOcean and trying to set up a new vhost, I couldn’t get the default Apache page to go away and load my vhost’s content.

It turns out that in Debian Jessie vhost configuration files are required to end in *.conf. So, if you are naming your vhost configuration file example.com just rename it example.com.conf and it should load.

Another tip to see what’s going on if a vhost doesn’t load after a reboot, run this command to check it’s actually being loaded:

    apachectl -S