How to force the devices connected to the wireless router to open a web site hosted in a local webserver

captive-portalnetworking

Please I need some help on how to configure this.

I have little bakery and would like to create a local webserver to host a digital menu. Customers would access it via wireless router from any device with wi-fi connection, such as smartphones, tablets, notebooks, etc.

This wireless router would not be connected to any ISP, it would be connected only to the local network.

I would like customers that are connected to my wireless router and open internet browser, are automatically redirected to the local webserver URL with the digital menu, just like when you connect to the public hot-spot and forced to subscribe to any service.

So the elements in the network would be: client devices with wi-fi, wireless router and a PC with webserver.

Best Answer

You could do this if you had wifi gear that supported redirecting all requests to an auth page and then just make the auth page your menu instead of the actual auth page. The problem with this is that many phones will only use the wifi connection when both wifi and 3g/4g is available.

I know that I would avoid a place that hijacked my connection like that and I was forced to change settings on my phone to browse the web.

Related Topic