How to access Apache2 virtual host from VirtualBox (or any VM)

Ah, It's as easy as pie.

In your windows Virtual Machine edit your hosts file

c:\WINDOWS\system32\drivers\etc\hosts

And link your virtual hosts to 10.0.2.2, If you are just using localhost then replace

127.0.0.1 localhost with 10.0.2.2 localhost

So my hosts file looks like

10.0.2.2 localhost
10.0.2.2 site1.local
10.0.2.2 site2.local