Viewing localhost [Mac OSX Lion] with Windows 8 DP on VB

Discussions related to using VirtualBox on Mac OS X hosts.
Locked
paul_ngc
Posts: 4
Joined: 23. Mar 2012, 12:52

Viewing localhost [Mac OSX Lion] with Windows 8 DP on VB

Post by paul_ngc »

On my mbp with osx 10.7.3
with Virtualbox 4.1.10 r76795
running windows 8 Developer Preview

On my mac I have a localhost created with the builtin functions from mac (no MAMP).
applefritter com/snowleopard-wordpress (can't post links unfortunately
But now I want to view the localhost with virtualbox to test websites with IE.

I changed the hosts file and added (the address is found through the terminal with the ifconfig command)
192.168.2.105 localhost
But it's not working for some reason. I flushed the DNS as well of course.

So when I go to localhost it's giving me an error. When i go to
192.168.2.105
I will see my localhost on Mac, but stylesheets, javascript files and all other links are still localhost/style.css (as example) and won't be displayed.

I looked at the network settings because some said you need to set it to Bridged, but that didn't do anything as well. Do I have something to do with the port forwarding? Somebody knows what I can try to make it work?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Viewing localhost [Mac OSX Lion] with Windows 8 DP on VB

Post by mpack »

We are restricting all discussion of Win8 guests to this thread, until Win8 actually exists and VirtualBox supports it.
Locked