Good evening, I develop web sites. Naturally, development takes place on localhost . When you create a new virtual host, you have to register it every time in hosts . I would like to have a local domain zone, for example *.dev

On board Fedora 18, Apache 2.2

    2 answers 2

    And if you still want DNS, then:

    • Set yourself a bind
    • Configure the local domain zone
    • Configure forwarding the remaining requests to (your provider | your router | 8.8.8.8)

    That, in principle, should be enough.

    There are a lot of manuals for configuring, here is one of them: Installing and Configuring the BIND DNS server in RHEL, CentOS, Fedora and here is another: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS

    • I will dig, thanks - Gedweb

    something tells me that you are not digging in the wrong direction. If you want to simplify the procedure of adding a host, then simply create the appropriate bash script.

    • I did a similar thing, but the question is not about that - Gedweb