Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

If anyone has a similar challenge, check out Ngrok (https://ngrok.com). Through a few articles I was able to peace together something that works for me. Here's what ended up using for Ngrok 2.0, just one line:

./ngrok http -host-header=rewrite -subdomain=awesomeapp awesomeapp.dev:80

This will expose my local VM, specifically awesome.dev to the internet via the subdomain awesomeapp.ngrok.io - You could leave out the subdomain if you wanted and just use the randomly generated id that Ngrok returns.

0

Hi Daniel, did you run this from your host or your guest machine? I'm trying all kinds of combinations without success.

0

I was struggling to get ngrok 2 to work with homestead, this was the only solution i found that actually worked. Thanks a lot!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

dbrown428 dbrown428 Joined 11 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.