My port 80 is rederecting to blynk.cc via local server

Hi,

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 https://www.blynk.cc page. It doesn’t bother me but I sure like to know where the redirection is made.

Looking the server.properties file, I noticed the line #server.host=test.blynk.cc

Even though test.blynk.cc does redirect to https://www.blynk.cc, the line comes commented by default.

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

TIA

At the server code. All non-valid url are redirected to https://www.blynk.cc