Skip to content

Instantly share code, notes, and snippets.

@Elandlord
Last active August 17, 2024 16:10
Show Gist options
  • Save Elandlord/21d15a2c74767af6015a844837f06dbe to your computer and use it in GitHub Desktop.
Save Elandlord/21d15a2c74767af6015a844837f06dbe to your computer and use it in GitHub Desktop.
For starting ngrok with your custom local domain (Free plan)
ngrok http -host-header=[your-custom-local-domain] [port]
@kickofitall
Copy link

Thanks for the little piece of code.
I spent hours searching for the right solution.

@manchumahara
Copy link

correction (need double hyper before host , now -host , should be --host)

ngrok http --host-header=[your-custom-local-domain] [port]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment