Multiple tunnels

I just setup 4 tunnels that all go to the same server on my network, just different applications on different ports. If I kill the cloudflared service, relaunch with a different connector id, then that one works, but it shuts down the other 3. I can duplicate this on any of the tunnels. It's setup as app1.mysite.net, app2.mysite.net, etc. and each app points to the same internal ip, just a different port. If I try to do separate services for cloudflared, each with a different connector id, it gets angry, tells me it can do multiples, but how?! Please help!!!
5 Replies
Erisa
Erisa3mo ago
Firstly, why do you need multiple tunnels? You can create as many public hostnames as you want from a single tunnel
Tech
Tech3mo ago
I guess I don't? This is my first try at tunnels. I'm just trying to get app1.mysite.net to go to 192.168.1.10:8067, app2.mysite.net to go to 192.168.1.10:7878, etc. I'm clearly doing something wrong, but I don't know what Thank you for the reply and any guidance you can offer So I guess my question is if I don't need multiple tunnels, HOW can I create as many public hostnames as I want from a single tunnel and get them to go where I want?
nir4
nir43mo ago
you can do it through config files or the ZT dashboard
Erisa
Erisa3mo ago
That^ wherever you configure your tunnel, you will be able to create multiple hostnames
Tech
Tech3mo ago
Thank you. I'll start reading. Maybe it's covered in there, but what should the main tunnel be? Just mysite.net? When I do that, I get Error: An A, AAAA, or CNAME record with that host already exists