Reference: http://stackoverflow.com/questions/1261975/addressing-localhost-from-a-virtualbox-virtual-machine In Virtual Box - running Windows: You can reach your localhost via: http://10.0.2.2 If you need to link to vhosts on your localhost though you need to update the virtual box's hosts file Enable Notepad to be run as administrator http://www.7tutorials.com/how-run-programs-administrator-windows-7 Edit the hosts file windows/system32/drivers/etc/hosts using notepad as admin app and enter: 10.0.0.2 vhosted-domain.dev