How to route traffic through a tunnel from webserver end?

What is the name of the domain?

christinaengela.co.za

What is the error number?

522

What is the error message?

Error 522

What is the issue you’re encountering

The tunnel is “healthy”, but I still can’t access my self-hosted website via the internet. I can’t seem to figure out how to direct traffic through the tunnel to connect to my Wamp Server installation?

What steps have you taken to resolve the issue?

Have read the material on your site exhaustively, still have no clue what the problem is. (Much of it seemingly assumes the user has a lifetime of experience in this sort of thing and can “read between the lines”!) Have created several new tunnels in my attempts and revisited .conf, htaccess and host files on my server, to no avail. Have reloaded the server time and again and retraced my steps step for step setting up the tunnel via cloudflared according to your literature - I even consulted tutorial videos on YouTube. Installed Warp last night to see if that would help - nope! I’ve been struggling with this issue for almost 2 full weeks now, some insight/advice would be appreciated! All I want to do is get my self-hosted backed-up WP website up and running before the externally hosted version expires. Thanks.

I am sorry to hear this :frowning:

No need to open any ports if using cloudflared tunnel at your host/end.

I’d suggest you to run it locally on your host.

Create a tunnel via Zero Trust Dashboard for simple management, copy-paste, install, add public hostname to your tunnel such as https:// example.com:443, if you don’t have an SSL certificate enable the noTLSVerify option and you’re good to go (otherwise, add the Cloudflare Origin CA certificate → Origin CA certificates · Cloudflare SSL/TLS docs).

Make sure WordPress databse table xyz_options is set for home_url and blog_url to https://example.com. Upon successfull login to WP Admin, make sure to use Better Search and Replace to replace all HTTP to HTTPS links, or leave “as-is” and use some other plugin such as Really Simple SSL.

At Cloudflare, keep the SSL/TLS settings on Full (Strict), with the features such as Automatic Rewrites and Always Use HTTPS enabled.

Feel free to post your questions and experience in your replies futher.

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