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

    Local Domain name pointing to a webserver

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.9k 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.
    • U
      ukr_888
      last edited by

      Hello everyone.

      So I have pfsense setup and so far its been amazing. However I ran into a little dilemma. I have configured a local domain name on pfsense,
      lets call it "localnet.me". Lets say my desktop pc name is "tork". When I am on the pc and run ipconfig i get tork.localnet.me as full qualified name. Now when I want to visit my servers wiki (CentOS 6.0 Server) i have to type in http://servername.localnet.me http://servername in order to see the webpage. My question is, is there any way I can have it to where I can type in localnet.me and the browser would automatically take me to the webpage hosted on the server? Also please note that when I do nslookup it looks at pfsense to resolve ips/names.

      Many Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        I'm not sure I follow what you have to type in.

        You can set the dns forwarder to resolve local hosts. In Services >> DNS Forwarder: you can set DHCP leases or static IPs to be resolved.
        You can also add dns records manually to point at internal servers.

        Steve

        1 Reply Last reply Reply Quote 0
        • U
          ukr_888
          last edited by

          @stephenw10:

          I'm not sure I follow what you have to type in.

          You can set the dns forwarder to resolve local hosts. In Services >> DNS Forwarder: you can set DHCP leases or static IPs to be resolved.
          You can also add dns records manually to point at internal servers.

          Steve

          I got it to work. In DNS forwarder i pointed my domain name to the ip address of my server so when I just type in localnet.me in the browser it takes me to my servers intranet wiki webpage. Just dont type in the hostname.

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