Ngrok with SSL and hostname
<p>I'm trying to expose my local dev site through ngrok. My site uses https (on port 7443) and because I use OpenConnect for auth, I have a hostname setup in my windows hosts file (e.g. "127.0.0.1 aaa.bbb.ccc.com"). Locally I access the site through <a href="https://aaa.bbb.ccc.com:7443" rel="nofollow noreferrer">https://aaa.bbb.ccc.com:7443</a> (I can't change this or OpenConnect will break).</p>

<p>I have created a reserved domain in the ngrok dashboard, but I don't know how to create a CNAME entry - does this require another entry in the hosts file?</p>

<p>I'm trying to run ngrok with this command:</p>

<pre><code>ngrok tls -hostname=aaa.bbb.ccc.com 7443
</code></pre>

<p>but it says I must provide a single argument. If I use</p>

<pre><code>ngrok tls -hostname=aaa.bbb.ccc.com:7443
</code></pre>

<p>I get "Tunnel session failed: You must reserve a custom hostname for your account before it can be bound. Failed to bind the domain 'aaa' for the account 'xxxx' - it doesn't like the subdomains.</p>