My port 80 is rederecting to via local server


I’m running a local server on my Linux box and it’s working just fine within the local network and from internet.

Because my router isn’t allowing me to open port 8080 to public, I’m routing port 80 to 8080 so in my firmware, I’m using the following line on devices outside my network:

Blynk.begin(auth, ssid, pass, “my_public_domain”, 80);

And as I said, it’s working fine.

Now, my_public_domain is from NO-IP and, of course, is pointing to my router’s external IP.

So, https://my_public_domain:9443 brings up the login page just as it’s designed to do.

However, http://my_public_domain, brings up the page. It doesn’t bother me but I sure like to know where the redirection is made.

Looking the file, I noticed the line

Even though does redirect to, the line comes commented by default.

Having said that, the question is, where is the redirection made at?


At the server code. All non-valid url are redirected to