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

    External domain

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    4 Posts 2 Posters 529 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.
    • T
      thorsen
      last edited by

      Windows Web Server onsite at the office. When outside of the office it works like it should and the web domain .com is pointed to the static WAN IP of the pfSense WAN port.
      How can we have it for the same web domain .com resolved to an internal LAN IP when the DNS query comes to the pfSense firewall?

      KOMK 1 Reply Last reply Reply Quote 0
      • KOMK
        KOM @thorsen
        last edited by

        @thorsen https://doc.pfsense.org/index.php/Why_can't_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks

        Split DNS is the best way to do it.

        1 Reply Last reply Reply Quote 0
        • T
          thorsen
          last edited by

          Thank you @KOM ! That works for our domain that starts with www.example.com but we have another one that starts with fb.example.com and for some reason entering fb on hostname all takes in the DNS Resolver but when pinging it does not resolve as the IP entered in the Override.

          1 Reply Last reply Reply Quote 0
          • T
            thorsen
            last edited by

            Nevermind, this was my mistake with testing I was trying out different things with the host file as well. Thank you for your help! ☺

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