Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    1

    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:

    Code:
    192.168.1.20 vvv.xampp.dev
    192.168.1.20 vvv.project42.dev
    What I really would like is if I can add something like this to the router:

    Code:
    192.168.1.20 *.dev
    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

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •