Developing and testing localhost websites on mobile devices

The Problem

I quickly realised an unproductive workflow in committing a web site and deploying it to Amazon’s Elastic Beanstalk (EB). I would be working within my Virtual Machine (VM) to develop a web site and after everything tested OK in desktop browsers I would deploy, only to see that it wasn’t all good on the mobile. Yes I can resize the browsers window to simulate mobiles to a degree and I can test on the IOS simulator (I’d rather not) but neither are perfect. And when there was an issue, the constant tweaking and trying again would get very tedious.

My VM is basically running so that no devices except those directly running on the host machine can request the web site in a browser. Knowing this how do I access the web site I’m developing via my mobile or tablet, in this case iPhone and iPad? I could start messing around with various networking options but before even contemplate something that already didn’t sit well for me I thought I can’t be the only one.

The Solution

After a few attempts at Googling around I found a workable option through tunnelling. The concept is simple, I create a tunnel between the web site running on my VM and a public service offering that generates a publicly addressable URL you can use to request your web site via any device.

I found out that there are a few offerings, as listed below:


Paid for

Continue reading