Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Create WiFi hotspot with web access point

I have Internet cybercafe, and I have wireless internet connection.

If any customer comes to surf, and he types www.google.com he should redirect to my company's page to enter a password to open www.google.com, if password is correct then and only then page redirect to www.google.com

My question is how to trap my wireless internet connection to redirect user to my company's page.?

share|improve this question

marked as duplicate by techie007, Renan, Journeyman Geek, Mokubai, 8088 Aug 5 '12 at 5:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Please don't cross post - stackoverflow.com/questions/11808589/… –  ChrisF Aug 4 '12 at 13:31
add comment

1 Answer

You have to install and configure your DNS server (bind) and DHCPD server. Create two local networks, one for non-authenticated (as default), one for authenticated. In the first network, filter internet access and resolve all domain requests using DNS server to your company IP address. They'll be redirected to your website whatever then type. Once they're activated (logged in), your DHCPD should send them a new address (IP in the authenticated network) where they have access to the internet.

share|improve this answer
add comment

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