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 192.168.2.1 - 254 the "second" (router B) one 192.168.3.1 - 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:
name.something.org. -> this works
now I have a webapplication that routes me to name.something.org, 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 something.org. 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 something.org:
Connection-specific DNS Suffix . : something.org Link-local IPv6 Address . . . . . : IPv4 Address. . . . . . . . . . . : 192.168.3.252 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.3.1