I have a following issue. I have in house server (old Dell desktop PC). I have about 9 devices I'm using to test my websites (written mainly in PHP and Python).
In the past, I was creating Nginx virtual hosts and was editing hosts file to point virtual subdomain to my main server, ex. dev.domain.com, dev.anotherdomain.net.
With lot of devices and websites it became really hard to manage it (+ I don't know how to edit hosts files on Android and iPad tablets).
I'm wondering (however my knowledge in that aspect is quite limited) if it's possible to set up DNS server (Bind9?) on my server and point its IP as the second NS in my internet connection? Would that work? If not, how do you usually manage that kind of stuff?