i have dynamic ip and i can't use hosting services the ports 80,443 are blocked i have custom domain

hi guys, i are im trouble, i have domain on cloudflare and localhost via xampp, but i can't pay hosting services and they cannot serve me, i need a way to point my localhost to my custom domain, like it has a true server with fixed and public ip
10 Replies
Chaika
Chaika•2mo ago
Cloudflare tunnels: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/ They connect out to Cloudflare, you don't need to port forward/open ports/worry about ip changing/etc
Cloudflare Docs
Create a remotely-managed tunnel (dashboard) | Cloudflare Zero Trus...
Follow this step-by-step guide to get your first tunnel up and running using Zero Trust.
brasileirunho
brasileirunhoOP•2mo ago
thanks bro, i'm trying it again, but i need maintain the site on the domain to secure my project
_CYBORG_🇵🇸
Just use Zero Trust Tunnels as he mentioned above.. you can use domains with your localhost without having a static ip.. You don't even need to expose or forward any ports to public.
brasileirunho
brasileirunhoOP•2mo ago
OK
brasileirunho
brasileirunhoOP•2mo ago
No description
MDev
MDev•2mo ago
Sometimes bad gateway on a tunnel site literally means no valid gateway, make sure the host which the tunnel site is pointing to has a valid IP config including default gateway. While it doesn't require port forwarding it will require the ability to communicate outside its network 😉 Same for your cloudflared daemon. Also be sure to check cloudflared logs. If that all looks fine look into any firewall rules that might block it
Chaika
Chaika•2mo ago
502 means hit tunnel (otherwise there'd various 1xxx tunnel errors for that) but tunnel can't get response from public hostname checking cloudflared logs is a good idea -- either from zt dash or if you installed it as a service on systemd linux you can just do sudo journalctl -u cloudflared -f --lines=100
brasileirunho
brasileirunhoOP•2mo ago
i got it i'm using windows
brasileirunho
brasileirunhoOP•2mo ago
No description
brasileirunho
brasileirunhoOP•2mo ago
i took it out because the website is in maneintance but the tunnel is working thanks 😉
Want results from more Discord servers?
Add your server