How do you temporarily redirect a user’s home page?

How do you force a user’s web browser to go to a page of your choice rather than his default home page for first time logins or periodic payment collection?

You know how at hotels & starbucks (wireless hotspots) etc. the first time you access - or once every 24 hours your browser is automatically directed to the providers login page for payment or authentication???

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Generally i would say this is done by proxy based software. Not just a few tweaks. Most likely it is a proxy setup to only allow a new user access once the user has logged into the proxy. The log file from the proxy would then be used to work out he billing. Other systems i have seen have this part more automated.
There are several ways to do this, and it depends on a couple of factors as to how you need to do it.  This is how the ISP I worked at did it.

The ideal way would be that you know who has what IP address or be able to set DHCP settings by username and then when ever you wanted to redirect them, set their DHCP settings to use a DNS server where all addresses pointed to a webserver with only the payment or whatever screen on it.  
So if they go to the DNS server tells em the ip is (or whatever the web server's ip address is).  Then once they've seen the page and done whatever you needed them to, then a flag is set to change thier DNS server back to the regular server, letting them surf like normal.  

This is a pretty basic explaination and isn't exactly a step-by-step how to, but it's hard to tell you exactly what do cus it depends and what info you have and what you can change.   But there is a simple answer of how to do it without proxy software so say for example it is a starbucks, etc type setup users dont have to install anything to work with your network and payment design.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kmccainAuthor Commented:
Thanks to heyiou for reminding me about DHCP (Doh!)

 here's a howto -
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.