Server in LAN is accessible globally but not locally



  • I have a hit a very weird problem in my career. After 1:1 NAT, The apache server installed in my LAN is accessible globally but not locally. I was configuring HAproxy, But hit the same roadblock. Please provide me a break through.



  • I assume you can ping it on the LAN but cannot access it using FQDN.

    Is it a static or DHCP allocation. You can add the Hostname in the DHCP server with the IP address or you can add it as a Host Overide in DNS resolver. Either should work.



  • It was pinging. The problem is solved. I had to set the DNS resolver to all the interfaces.