Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remotely viewing web pages served by pow.cx

Using WEBrick you could navigate to an app you were serving from another device/virtual machine by navigating to your.ip.address.here:port

Is it possible to do something similar with pow.cx?

like image 508
jsteiner Avatar asked Jun 16 '11 22:06

jsteiner


Video Answer


1 Answers

The latest version of Pow (0.4.0) now includes xip.io support. You can read about the release here.

Here's a quick explanation of how this helps Pow serve your Rails apps across your entire local network, from their post:

Say your development computer’s LAN IP address is 10.0.0.1. With the new version of Pow, you can now access your app at http://myapp.10.0.0.1.xip.io/. And xip.io supports wildcard DNS, so any and all subdomains of 10.0.0.1.xip.io resolve too.

Here's a description of xip.io, from their site:

xip.io runs a custom DNS server on the public Internet. When your computer looks up a xip.io domain, the xip.io DNS server extracts the IP address from the domain and sends it back in the response.

like image 165
James Chevalier Avatar answered Sep 21 '22 22:09

James Chevalier