how to host your things with cloudflare

June 24, 2026

hi www,


i was so delighted about hosting things at my home such as my websites, apps even a teamspeak server but the prices of ISP's gone crazy these days. so i need to find a way out. eventually i did, with cloudflare. thus if you're reading this article that means you're in that cloudflare tunnel also rn. 



let me explain a bit how to do it without losing your things. especially if you host your things with npm(nginx proxy manager) like me. ofc you need an account on cloudflare, and your domains need to be managed on cloudflare. then basically:


go to

overwiev -> networking -> tunnels

click

create tunnel

enter a tunnel name then create. after that the site will redirect you to tunnel installation page with all the instructions in it even with a connection controller. follow the easy guide (no need to explain it all over again) to establish your tunnel connection.


On the tunnel overview page click your "example" tunnel to see routing graph. click

+ Add route

for website choose 

published application

then enter if a subdomain name if you want to (do not enter any if you want to redirect with the main domain, add path if you need to)

on

Service URL*

you need to be careful, lets just say you've installed cloudflared to your hosting machine you need to use 

https://localhost

to redirect your domain correctly. but you can install cloudflared to another machine and use this section with your local ip like

https://192.168.1.10

to get correct respond. ofc u can use http, tcp and someother services that cloudflare allows. anyway. you need to clear your dns records if you've configured before. 


BUT


these were not enough for me. Because i had my certificates locally + working with npm. so you have to enable 

No TLS Verify

option to pass through to the website correctly. how? just have to use 

Zero Trust Dashboard

instead of the other one (no idea why but this is how you find that option). go to

networks-> connectors-> "your published route name" -> Origin request and connection settings-> No TLS Verify

enable that, and youre done. that is how this website works currently. hope you can do it easily too. if you can't