Can someone point me to the exact instructions on how to configure Cloudflare to route an added subdomain through a tunnel?
Setup: I have a server that I have verified can handle localhost and mysubdomain.localhost traffic correctly. Cloudflare is already setup to handle foo.com and point it to my sever and this is verified to work.
From the docs I have read, if I have this server already these are the steps that appear to be recommended:
- Create a CNAME DNS Record with name “*” and content “foo.com”
- ??? In the SSL/TLS menu, create a custom hostname: mysubdomain.foo.com
- ??? On the server, edit ~/.cloudflared/config.yml and add a new hostname for mysubdomain.foo.com in the ingress section
- ??? Some other step ???
I’ve tried 1,2, and 3 and no traffic makes it to my machine - it stops on the Cloudflare servers.