Different public hostname paths with the same subdomain on the same tunnel

What is the name of the domain?

sub.mydomain.com

What is the issue you’re encountering

Trying to set up multiple paths with the same subdomain

What steps have you taken to resolve the issue?

Say I have one cloudflare tunnel set up to my server: sub.mydomain.com. I have multiple services on that server - say “notes” at localhost:1111 and “todos” at localhost:2222. I’ve also set up public hostnames on the tunnel like sub.mydomain.com/notes to point to localhost:1111 and sub.mydomain.com/todos to point to localhost:2222 . However, these now just give me a blank white page. Whereas if I do these as separate subdomains (eg sub-notes.mydomain.com and sub-todos.mydomain.com) it seems to work just fine. What might I be doing wrong?

Looks like I had to configure the “notes” and “todo” services to expect a baseurl of /notes & /todos

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.