I have just installed ubuntu webserver in Virtualbox. I can access my www folder if I enter 192.168.0.100/index.php in my browser. However, if I try to do it via localhost, it does not work.
This is my hosts file:
My virtualbox is set as network bridge adapter.ServerName localhost
127.0.0.1 localhost
127.0.1.1 ubuntuwebserver
zf2-tutorial.localhost localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
~
Does anybody know how I can access this folder via localhost?
Thank you!