Hacker News new | ask | show | jobs
by scottbruin 4709 days ago
Hey, quick question: is there a way to make ngrok preserve the Hostname it passes to my local machine? E.g. we're using virtualhosts and I need the requests to hit my local host with the correct hostname.
1 comments

Ngrok will pass the same hostname that it received from the public request, so something like example.ngrok.com. If you use the -subdomain flag, then it will always be the same hostname. I'm not entirely sure I answered your question, so if that didn't help, feel free to email me and we'll get it sorted out: alan at ngrok dot com