A
A
Acvoloe2016-08-29 14:33:54
System administration
Acvoloe, 2016-08-29 14:33:54

How to register a range of names in hosts?

I have a local LAMP server at home and wanted to create my own ".dev" domain zone by editing hosts in the router, how can I make all domains with ".dev" forwarded to the server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Smithson, 2016-08-29
@Acvoloe

If you have LAMP, then it will not be difficult for you to run bind (or some other name server) on it, call it a master for the dev zone, register this zone there and assign it as a dns server for your PC. Nothing will change for the rest of the world, and dns will honestly distribute the dev zone to you.

A
Andrey Inishev, 2016-08-29
@inish777

Or register everything manually in hosts or raise dnsmasq

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question