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 have the following problem: i installed a new test-mailserver in our office today and did some port-forwarding on our router to the specific mailserver ports. everything works fine, except the following situation:

i want to use a url, whos a-record points to our fix network ip. this work fine when checking mails out of our office, but when trying in the local wifi, the url canÄt be accessed because of the router.

the problem is: on our iphones i only want to use ONE url to check the mails in the wifi AND outside of our office-network.

any advice here how this can be fixed?

thanks in advance!

share|improve this question
up vote 5 down vote accepted

Two options:

  • "NAT Reflection" is the term for getting your router to do the NAT for the outside address for traffic originating internally. How this is configured (or whether it can be) depends completely on your router.
  • DNS view splitting. For this, you'd configure your DNS for internal systems to resolve the external name to the internal address, as opposed to letting them resolve the public address. This depends on having a way to override that record for internal clients - what's your DNS configuration look like?
share|improve this answer
actually we use our providers dns servers. is it possible to use our own, add this specific domain and redirect the other requests to our providers server? thanks! – Tronic Jan 27 '12 at 21:48
Yes, absolutely; you can accomplish this with any of the common DNS server packages. – Shane Madden Jan 27 '12 at 21:51

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.