Pow and VMware Fusion

I use Pow to run the Rack application on Mac OS X. http://myapp.dev displays the application correctly. On the same machine, I use VMware Fusion to run Windows 7 when sharing a Mac network connection. I would like to test the Rack application using Internet Explorer in VM. http://vmnet8.adapter.ip.address correctly displays the "Pow is installed" screen. However, htttp://myapp.dev no longer works.

I understand that Pow creates a DNS resolver and uses its own DNS server to intercept domains ending in ".dev" and redirect them to localhost. Is it possible to make this work inside the VM too?

+7
source share
2 answers

Create a symbolic link in the ~/.pow with the name default and specify it in the application that you want to test in VMWare. http://vmnet8.adapter.ip.address will now use this application instead of presenting the default screen, like http://<myhostname>.local .

+4
source

In my case, I use virtualbox, but it looks like this is related to the same problem that I had to deal with, so:

  • Get the IP address used by your Mac with ifconfig or any other method you prefer. In this case, assume that the IP address is 10.249.158.68

  • This link explains how to run a POW server from another computer; in our case, it will be a virtualized Windows image: http://pow.cx/manual.html#section_2.1.5

So, open IE [7 | 8 | 9] on your Windows virtual machine and type: http://myapp.10.249.158.68.xip.io/ ---> replace "myapp" with the name used on your Mac to link to your project

+5
source

All Articles