Web Development Environment: How to distribute edited hosts files over bunch of mac machines?
- by Alex Reds
I am doing some research to prepare some web development environment for our small(10ppl and growing) new office.
User Case:
For each new web project usually we create new alias on an Apache server someproject.companywebsite
From my understanding in order to see this website locally for all the rest of our team(including mangers and directors) they will need to edit hosts file (e.g. "192.168.1.10 someproject.companywebsite"), and like that each time for a new project(can be 2-5 each week)
Solution:
And I looking for a solution how to edit this hosts file only once and distribute it over all mac machines in our network at once or much more flawlessly than poking around with each machine every time over and over again.
Is that possible?
Or that a very wrong way of doing that?
Perhaps we better set up own local dns server and point to it our router? Though own dns server a bit concerns me because of might be some network interruption and others lags, if you know what I mean.
Or perhaps there are another workflows for that? What's the best way for such things?
So I'll be so grateful to hear some advices from experienced admins.
I couldn't find that info on internet, so if you know where to read about it, point me in a right direction.
Thank you in advance
Alex