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.

  • Thanks all for the answers but I'm really looking for a simple solution using a regular wireless router and a Windows PC with a Apache webserver configured. I wouldn't like to install any further sofware or change the PC Operating System. Is this something possible? – Ernesto Jun 2 '11 at 17:48

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.

| improve this answer | |
  • 1
    But isn't this how virtually all businesses do it? Every public company from Taco Bell to Whole Foods redirects you and makes you click on their "I agree" button as the first page you see when you establish a WiFi connection on their public network. Or am I misunderstanding? – GojiraDeMonstah Mar 5 '14 at 13:57
  • 2
    @GojiraDeMonstah a captive portal that requires users to agree to Terms of Service is different than capturing all web requests and redirecting them to a store's menu. – MDMarra Mar 5 '14 at 14:00
  • Agreed. I was thinking of captive portal. – GojiraDeMonstah Mar 5 '14 at 18:57

You can hack things together with DHCPd, IPTables/IPFW/pf and some creative CGI or PHP scripts, but the traditional thing to do is to get a pre-built solution like the one from BlueSocket. Less work / maintenance long-term.

| improve this answer | |

Often wireless access points have a setting similar to "hotspot settings" or "enable HTTP redirect". This would allow you to initially send them to your local web server (probably using the IP address rather than a DNS entry".

| improve this answer | |
  • Is it possible to do it on a regular wireless router (example: D-link DI-524)? Or only on Access Points? – Ernesto Jun 1 '11 at 20:57

You probably want a Captive Portal either running on a PC or running on WRT firmware.

Check out this question

They recommend using CoovaChilli it runs on a Linksys WRT54G using the Open-WRT firmware.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.