Sunday, September 13, 2020

Redirect all domain name calls to a specific page

I manage a product that is configured over a TCP/IP port via a web page. Traditionally this type of configuration requires the user to mess with their network settings so they can get on the same subnet as the device IP address and access it. Then they need to know/remember its IP address to configure it. This is too much difficulty for our user base's skill level and results in a lot of tech support overhead.

The connection is a straight cable from the user PC to the device, with no other networking taking place. I'd like to modify the settings to redirect the user to the configuration page no matter what they type into the address bar of their browser. I've seen this in the wild at hotels and other places that offer WIFI - they direct you to their login page or a welcome center and then allow wide web access after authentication. I'm not so much interested in how they authenticate wide web access, just the redirect.

I don't know how this is done and I wonder if anyone here may be able to help me out with some insight. The device runs on a bare bones Linux Debian package. I have the ability to change whatever I want in it, or add any software (as long as it is lightweight).



No comments:

Post a Comment