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

    pfSense change the URL

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 1.1k Views 2 Watching
    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.
    • W Offline
      WhiteTiger-IT
      last edited by stephenw10

      When I type in a URL that refers to a domain on my local server, the url changes.
      For example:
      http://my-domain.tld
      becomes
      https://my-domain.tld:8443

      8443 is the port I use on an external server with Plesk.
      Plesk is not installed on my local server.

      This only happens with PCs in the local network and which receive the IP from pfSense.
      If I type the URL from a smartphone or a PC on another network (to take the test I even took control of a PC in another city) the address is not resolved, but at least the http doesn't change to https and 8443 is not added.

      I changed PC, changed browser, cleared browser caches, typed the Windows command ipconfig /flushdns and in pfSense I restarted the DNS resolver service (in Status/Services).
      But there is something that still bothers me, but I don't understand what.

      stephenw10S 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator @WhiteTiger-IT
        last edited by

        It's probably something browser side correcting it.

        The only redirect pfSense applies like that is for the webgui itself. If that is running on 8443 as https you will be redirected to it from http.

        That host would have to resolve to some IP on the firewall if so.

        Steve

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          WhiteTiger-IT @stephenw10
          last edited by

          @stephenw10
          As I wrote, I too had the doubt that there was something in the browser.
          For this, in order

          1. I cleaned the browser
          2. I did a DNS flush in Windows
          3. I have installed other browsers (Opera & Firefox).

          Seeing as none of this worked, I went to another PC that I have never used on before and the problem returned to this one as well.
          The only thing in common is pfSense.
          My PC is connected to a switch on which are also connected the pfSense LAN network card and an Access Point.
          The second PC used this Access Point

          stephenw10S 1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator @WhiteTiger-IT
            last edited by

            Ok, so does the URL you're using resolve to an IP on pfSense?

            Is the pfSense webgui running on port 8443?

            If so that's expected if you have not set 'Disable webConfigurator redirect rule' in Sys > Adv > Admin Access.

            Steve

            W 1 Reply Last reply Reply Quote 0
            • W Offline
              WhiteTiger-IT @stephenw10
              last edited by

              @stephenw10
              8443 is the port on a VPS with Plesk
              There is nothing on my network that uses this port, and I certainly haven't configured pfSense to use it.
              This seems like one of those things that only waste a lot of time.
              There are some caches out there that sooner or later will be emptied, but until that day I can't do anything.

              stephenw10S 1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator @WhiteTiger-IT
                last edited by

                Well something is redirecting it, probably on Plesk server is that URL resolves to it.

                What does the URL resolve to?

                Nothing pfSense can do about that.

                Steve

                W 1 Reply Last reply Reply Quote 0
                • W Offline
                  WhiteTiger-IT @stephenw10
                  last edited by

                  @stephenw10
                  If I call the URL from another PC on another network in another city, the problem is not there.
                  And it doesn't even exist if I call the URL from a smartphone.
                  I only have it from multiple PCs in THIS network, under pfSense.
                  So that's something here in this office. I don't know where, but it's here.
                  OK, I close the thread.
                  I try to reinstall everything.

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