CF Tunnel works fine when pointing to one domain, but gets http 404 when pointed to another
Hello, so I have been using tunnels for a whileand everything is great. But when I tried to migrate one of my apps from 1 domain (chat.xxx.com) to (chat.yyy.com), despite having a correct CNAME record to point to my tunnel and my sub-domain, I keep getting a http 404 when I got to chat.yyy.com.
I have attemped to route another working app to test.yyy.com and its the same result. But once they are back on xxx.com it works, and even on another domain zzz.com.
I am quite puzzled and don't really know where to start troubleshooting.
Any help would be appreciated.
2 Replies
Oh one thing that I want to mention is that yyy.com is pointed to a cloudflare pages instance running next.js
I am not too sure if that matters but I believe this is one of the only differences between the config for xxx.com and yyy.com
bump (please help me)
What do the tunnels connect to? Is it a reverse proxy?