Creating different tunnels for different VPS

I have 2 servers and I want to set up Cloudflare tunnels to protect them. I already created and connected a tunnel for one of my servers. Would you create another tunnel or add another public hostname and connect that to the other VPS?
9 Replies
KQ
KQOP6mo ago
These servers are under the same domain name, in different subdomains.
Akama Aka
Akama Aka6mo ago
You dont have to Just copy paste the Config
KQ
KQOP6mo ago
Ok thanks @Akama Aka | Cloudflare Simp |PoR Apparently that was a bad idea @Akama Aka | Cloudflare Simp |PoR
Akama Aka
Akama Aka6mo ago
Why?
KQ
KQOP6mo ago
Both domains pointed to the same VPS :D I created another tunnel
Akama Aka
Akama Aka6mo ago
okay
KQ
KQOP6mo ago
Thanks again
Chaika
Chaika6mo ago
Public Hostnames are the local config on each device. By connecting more then one vps to a tunnel, it just randomly picks the vps to send the connection to, and then it tries to connect to the origin. It has no concept of which public hostname lives where but yea, multiple tunnels as you've already figured out is the way to go all public hostnames must be available from all connectors/machines running that tunnel
KQ
KQOP6mo ago
Thanks @Chaika
Want results from more Discord servers?
Add your server