Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to access a LAN server over its external domainname from a LAN PC?

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 356 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Vertex
      last edited by

      Situation:
      LAN server, IP 192.168.0.10 with an external domainname: blog.test.com and a internal domainname: blog or blog.localdomain

      This 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.

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        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.

        V 1 Reply Last reply Reply Quote 1
        • V
          Vertex @viragomann
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.