How to specify which domain using ngrok
<p>I use mamp and I have virtual hosts all on port 8888. For example:</p>

<ul>
<li>site1.dev:8888</li>
<li>site2.dev:8888</li>
</ul>

<p>would point to <code>localhost/site1/</code>, <code>localhost/site2/</code> etc.</p>

<p>Before using virtual hosts, I would just change my docroot to whatever project I was currently working on and would start ngrok like so</p>

<p><code>./ngrok http 8888</code> and it would launch and give me a random generated *.ngrok.io url.</p>

<p>My question is how do I specify the domain now since I am using virtual hosts?</p>

<p>I've tried <code>./ngrok http site1.dev:8888</code> and it starts but just serves up mamps webroot.</p>

<p>I am using a free account.</p>