Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I've got a WCF web service that handles a portion of business logic and data access. This service is hosted on a server on our network at our office. Our website, hosted elsewhere, uses this service and believes it to be located at

I've also got a Winforms app used (only) on machines on our network that wishes to consume the same service. What I'd like to do is have the local machines attempt to consume the service at without having a dependency on our internet connection.

I believe I could do this by editing everyone's hosts file to point to the server's internal static IP address, but I don't think that's the way to go. Is this something I can do in our internal DNS server? Is there some better way to handle this altogether?

share|improve this question

migrated from May 6 '11 at 13:05

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

@razlebe - I did think of that, however I half expected the contributors here to come back with "No, no, no. You should do it this way..." from a software architecture point of view. – RobGlynn May 5 '11 at 15:40

Despite this not being the place for it, the solution I ended up implementing is:

I created a Zone in my network's DNS for and pointed to the internal IP of the service, but had to also duplicate all of the DNS records that exist on publicly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.