Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Can I have Windows use additional HOSTS entries from a file server?

How can I set up a global windows hosts file on my network. I have a server store the file on.

share|improve this question

migrated from Feb 12 '11 at 21:23

This question came from our site for professional and enthusiast programmers.

marked as duplicate by BloodPhilia, studiohack Feb 13 '11 at 7:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Hosts files are always local. If you want a global repository, use a dns server

share|improve this answer
That requires all machines on the network to use that server as a DNS server. There's a simpler way using a GPO to share the hosts file – Foo Bah Feb 12 '11 at 17:50
@Foo Bah : GPO requires AD which requires a DNS server, doesn't it ? – sfk Feb 12 '11 at 18:04
@sfk AD requires DNS but there are ways to do GPO without AD. – Foo Bah Feb 12 '11 at 18:11
to push out GPO changes, you need AD. This isn't possible with a WORKGROUP. – surfasb Feb 13 '11 at 6:39

Depending on the windows version, the file can be in a few locations. See

share|improve this answer
this doesn't really answer the question – jgfkdjg Feb 12 '11 at 16:49
A group policy object can be used to distribute files, but it really depends on the network setup. – Foo Bah Feb 12 '11 at 16:51
Hosts files are always local. If you want a global repository, use a dns server – sfk Feb 12 '11 at 16:53
@sfk: make that an answer, that is the real answer. – BlueRaja - Danny Pflughoeft Feb 12 '11 at 16:59