ruby-on-railsmacosrack-pow

How do I access remote machine that runs on Pow (rails web server)


I've recently installed Pow on my Mac. It's great.

It's convenient for my own dev machine. But I wonder if I can set it up to be shared by my colleagues. The problem is DNS resolution part.

For example, if I have a dev site on my machine like "http://myapp.dev". How do I let my colleague access to the site on my machine from his machine?


Solution

  • The hacky way to do this is to make them edit their DNS and insert a record in /etc/hosts that maps to your machine. An easier way to do this is Localghost which doesn't require editing files by hand.