Issues getting cloudflare tunnel working with website.com/path

I’ve gotten the cloudflare tunnel setup and is working for my site. When I navigate to https://website.com i am presented with the 502 bad gateway. But any other link from my site is working. For example https://website.com/gaminnews loads fine. https://website.com/links also works fine. Its when I try to access just my main landing page without a path specified I get the 502. Does anyone have an insight into this?

I just noticed when trying to access the main site without a path, the tunnel (or something) is trying to add the login path to my omada software controller. When i type https://website.com it resolves to https://website.com/webpages/login.html for some reason

It seems that all links are working now, not getting any 502 issues however my main apache landing page is saying “Not Found” as its adding the login path of my software controller for some reason. Website should be https://website.com but its resolving to https://website.com/webpages/login.html

Sorry for all of the replys to my post I wanted to add more info as I found it.

1 Like

One Last edit, I found the issue.

Cloudflare was working fine I just forgot to define my local servers IP in my apache vhost file in /etc/apache2/sites-available/ and restart apache. Defining the server IP here stopped it from trying to load my controllers login page as it also defaults to 80.

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