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 come from stackoverflow and I am looking for a sysadmin guru who can solve my problem.

I have a 2 router + "server" configuration. the first router (router A) has ip range - 254 the "second" (router B) one - 254 and has a fixed ip from the one within the 2 range.

behind router B is a computer who serves as a server. It leases a static ip adress from router B.

I configured the routers that external acces is touted to the server and internal aswell.

So far so good.

now the tricky part for me. I can acces the server from outside the network with a domain name: -> this works

now I have a webapplication that routes me to, when I access it. This works fine from outside the network, but not from inside the network.

My computer is connected to router B (same as server) my servername is: name, and Router B's domain name is something. org.

Both my server and my computer are on domain but when i do a ping, I am still rerouted to router A which gives me problem.

Does anyone know how to fix this.

It would be very appriciated :)

(thank you for reading this for and trying to understand what I am trying to explain with)

@ edit: when i check my ip settings on both computer and server I can see that the dns suffix is

 Connection-specific DNS Suffix  . :
 Link-local IPv6 Address . . . . . : 
 IPv4 Address. . . . . . . . . . . :
 Subnet Mask . . . . . . . . . . . :
 Default Gateway . . . . . . . . . :
share|improve this question
that is what I do, I set the router domain to, connect with computer and server on this domain. so normally when I do a request, the router sees it's on his domain, sees that one of the computers is so it routes the request to that pc – Nealv Aug 23 '10 at 21:19
I was thinking, because router B sends it's request to router A, can't I say that router A's domain name is org, router B's dn is something and my computer name is name, would router A receive the request, thinking it's for him because it's name is org then send it to somethin which reroutes it to the name ? – Nealv Aug 24 '10 at 16:21

I think you could just set a static route on router B to (or its public IP) with gateway = internal IP of the server (192.168.3.???)

share|improve this answer
I will try that later and comment, I currently have no acces to my server and routers :) – Nealv Aug 24 '10 at 16:19

A quick (and perhaps dirty) way to probably solve this is to just edit the host file on your workstation to point to the IP of the server:     192.168.3.x 


Note: Serverfault has some problems with URLs containing patentheses, so cut and paste!

I guess the cause of the actual problem does not have anything to do with DNS names and domain name search orders, but rather that your router(s) will not DNAT/port forward traffic that arrives on an internal interface. Depending on the type of router you are using it might be an easy thing to fix, or it might be impossible to do. (I see now that this is also what is described in Zoredache's link posted earlier).

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.