Access LOCAL SERVER ISPConfig for sites with Cloudflare Tunnel ( sites custom port ISPconfig )

Discussion in 'Tips/Tricks/Mods' started by Gamareza, Jul 1, 2025.

  1. Gamareza

    Gamareza New Member

    How to access a site on a local ISP config server by calling localhost:port

    From the original port 80 to 1020 and so on?

    Because I want to access with Cloudflare tunnel so that my local web can be accessed via the internet. Because my server does not have a public IP

    If all sites use Port 80, Tunneling will be confused because the sites collide with each other. This is where I use the Custom Port trick

    I changed via /etc/nginx/ sites available and site enable

    I managed to change port 80 to 1020 to call the site in the browser with the local IP 192.168.100.54:1020 THIS WORKED

    However, when I used Cloudflare Tunnel to be able to call the subdomain test.domain.com which leads to http*://localhost:1020 it didn't work. it always redirects to test.domain.com:1020 which RESULTS BLANK

    I have added the following but it still doesn't work

    listen *:1020;
    listen 127.0.0.1:1020;
    listen [::]:1020;
     

Share This Page