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 https://aaa.bbb.ccc.com:7443 (I can't change this or OpenConnect will break).
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?
I'm trying to run ngrok with this command:
ngrok tls -hostname=aaa.bbb.ccc.com 7443
but it says I must provide a single argument. If I use
ngrok tls -hostname=aaa.bbb.ccc.com:7443
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.