Network Hosts file/DNS

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Network Hosts file/DNS

Post by panic! »

I'm on a new network and I've installed a Linux dev server at work (all Windows servers before).

and I want to do name based virtual hosting. Which is easy enough when I manually edit my /etc/hosts file on my mac so for example




somesite.dev 192.168.0.10


192.168.0.10 is the Linux server's address.

which is fine for me but I'd like a way of having a network-wide hosts file so all machines have the same hosts file (macs and windows). Is this possible? Or would I need to set up a DNS on my Linux server?

Any ideas?
User avatar
andyhoneycutt
Forum Contributor
Posts: 468
Joined: Wed Aug 27, 2008 10:02 am
Location: Idaho Falls

Re: Network Hosts file/DNS

Post by andyhoneycutt »

I think you may want to look into having a dns server rather than manually editing and maintaining host files for every client machine.

-Andy
User avatar
andyhoneycutt
Forum Contributor
Posts: 468
Joined: Wed Aug 27, 2008 10:02 am
Location: Idaho Falls

Re: Network Hosts file/DNS

Post by andyhoneycutt »

Do you have a mac server? DNS setup and maintenance is great under mac os server.

-Andy
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Network Hosts file/DNS

Post by josh »

You can just register a domain or set up a subdomain under your companies DNS and use that
Post Reply