How to get Free ngrok Static Domain

1 min read

Finally, ngrok now offers free static domains, allowing developers to use a static URL to test webhooks with a live public link. Here’s how you can get a free ngrok static domain/URL.
First make sure you have an account on ngrok.com, once you are logged head over to domains page and create your free ngrok static domain.
Download ngrok CLI
Click here to download the ngrok CLI. Then, use the ngrok CLI to authenticate your ngrok account. You can find your authtoken here.
ngrok config add-authtoken paste_your_authtoken_here
How to Use a Free ngrok Static Domain to Direct Traffic to Your Local App
Run the following command to direct traffic from your free ngrok static domain to your local app domain.
ngrok http --url https://your-static-domain.ngrok-free.app https://socialdash.test --host-header=socialdash.test
0
Subscribe to my newsletter
Read articles from Sohaib Ilyas directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
