Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nicwek's avatar

Share laravel project with Ngrok in Laragon

I am using Laragon 4.0.16 to do a project and i am quite new to it. Could someone know the procedure of sharing a project to Ngrok using Laragon 4.0.16, i have tried checking content on this to no success, plus when i set up my Laragon to ngrok, i am redirected to Laragon root.

0 likes
5 replies
monstajamss's avatar

Ngrok generates some url at the back of the url add your laravel folder name then public like ngrokurl/foldername/public

It should work

Selvatico's avatar

I am posting this as it may help someone else. If you are using virtual server (i.e custom domains) which I guess you are, then you can run this command in your terminal: (assumin your custom domain is custom-domain.test)

ngrok http --host-header=custom-domain.test 80
7 likes

Please or to participate in this conversation.