how can I let dd-wrt router point www.example.dev to local webserver?
Over the years I have tried linux various times and have some basic knowledge of it. The trying was more a sort of playing around, but this time I want to build and actually use a working linux webserver. I installed the latest stable debian, and use dd-wrt on my Linksys wrt54gl router, which uses dnsmasq to get things done.
Instead of letting every local computer change their hosts file, I want the router to keep that kind of information so that anyone who connects to my local network can access these sites.
Normally it looks a lot like this:
What I really would like is if I can add something like this to the router:
which would route everything ending with .dev to that server. In this case the only thing I would need to edit for new local websites to work is the conf from apache webserver :)
Is this at all possible? If not, I seem to be unable to get the usual vvv.example.dev to work too, how do I do that?
P.S. Forget the vvv thing, I can't post links because I have less than 15 posts.
Hopefully my new linux server will teach me enough linux so that I would want to use linux exclusively for my every day use too, instead of toying with it once in a while :)