3

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Sam Kong
  • 5,472
  • 8
  • 51
  • 87

2 Answers2

2

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.

tadman
  • 208,517
  • 23
  • 234
  • 262
  • Strange I tried this. All my devices are connected via wifi. But don't connect. any ideas? – Trip Apr 12 '14 at 12:21
  • 1
    @Trip You can always test this in principle with `curl -HHost:hostname ip` where `hostname` is your dev site name like `test.dev`, and `ip` is your IP address like `192.168.1.10`. – tadman Apr 12 '14 at 19:50
  • Ah great idea. Figured it out. Thanks! – Trip Apr 12 '14 at 20:33
0

I've been using https://showoff.io and it works a treat. Also allows others not on local network to view it as well (if that's something you need).

Galaxy
  • 3,370
  • 3
  • 29
  • 41