Homestead Ngrok

Written by Rich Banks on 6th Jul, 2017

Laravel

Just a very quick post to show you how to set up ngrok with Homestead.

ngrok creates a free secure public URL to a local web server on your machine. This allows you to easily test webhooks etc with ease.

You can download ngrok here https://ngrok.com/. Once downloaded unzip the file and open the terminal.

In the terminal navigate to the location of the unzipped ngrok e.g

cd Documents

Now run

./ngrok http 192.168.10.10:80 -host-header=myapp.dev

You will then be given public URL you can use to test your application.