Yes I also got tripped up following the official docs:
https://library.linode.com/hosting-websitebut using Ubuntu 13.10 (not 12.04). The version of apache it comes with seems to do things differently.
In sites-available there is a '000-default' instead of just 'default'
It's possible to change the command to disable that instead (a2dissite 000-default) and then reload apache2, but that only changes the behaviour so that your first virtual host is served up instead. So I just left it alone.
What I have is myserver.example.com which I use as FQDN for the server (only used as a FQDN and for SSH and the like) and ideally I'd like
http://myserver.example.com to just refuse to do anything (more secure) and only have someothersubdomain.example.com served via virtual hosts, but I'm not up to speed on that yet.
You also need, as mentioned elsewhere in the forums:
Code:
<Directory "directory here">
Order allow,deny
Allow from all
Require all granted
</Directory>
adding to the .conf file for your virtual host in this version of Ubuntu/Apache, or you'll just get access denied errors.