I have a server with a Real IP serving a web application.
Sometimes the internet goes down and I need the local client machines to be still able to access that server from LAN.
What is the easiest solution for this situation?
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.
Sign up to join this communityI have a server with a Real IP serving a web application.
Sometimes the internet goes down and I need the local client machines to be still able to access that server from LAN.
What is the easiest solution for this situation?
What is the easiest solution for this situation?
The keyword is split-brain DNS.
Instead of using the same DNS resolution as external clients to the (router's) public IP address and requiring cumbersome NAT hairpinning, you set up your local DNS to resolve the server name to its private IP address, so clients have no need to use the WAN router.
Note that applications like DNS and protocols above the transport layer are explicitly off-topic here.