How to access a LAN server over its external domainname from a LAN PC?
-
Situation:
LAN server, IP 192.168.0.10 with an external domainname: blog.test.com and a internal domainname: blog or blog.localdomainThis LAN server is already accessible via internet under the URL https://blog.test.com (port forwarding rule)
But how can I make this LAN server accessible from a Laptop in the same LAN (e.g. 192.168.0.50) under its external URL https://blog.test.com ?
What would be the correct way to solve that ?
Thanks in advance for your help.
-
If your LAN devices use an internal DNS server add an override to it.
For instance, on pfSense the DNS resolver is activated by default and devices configured by DHCP automatically use it. So go to Firewall > DNS Resolver and add a host override for blog.test.com with the IP 192.168.0.50.
-
@viragomann said in How to access a LAN server over its external domainname from a LAN PC?:
If your LAN devices use an internal DNS server add an override to it.
For instance, on pfSense the DNS resolver is activated by default and devices configured by DHCP automatically use it. So go to Firewall > DNS Resolver and add a host override for blog.test.com with the IP 192.168.0.50.
Thank you @viragomann it works perfectly.