FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    How do I change the base URL for the server?

    Scheduled Pinned Locked Moved
    Q&A
    0
    3
    2.5k
    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.
    • A
      alex
      last edited by

      I originally entered http://auth.mydomain.com in the setup wizard, but need it to be https://auth.mydomain.com (I have google as a SAML provider, and it won't accept a non https ACS url). The base URL doesn't seem to be set in the configuration properties, and I'm not it in any of the likely tables (I'm self-hosting).

      I'd prefer not to blow away the entire configuration. Anyone know how I can change the url?

      1 Reply Last reply Reply Quote 0
      • A
        alex
        last edited by

        There isn't a configuration for hostname. The hostname and protocol is pulled from the requestor, specifically from the X-Forwarded-Proto and X-Forwarded-Host headers. My setup specifically was Cloudflare (https) -> AWS Application Load Balancer (http) -> FusionAuth instance. The ALB didn't pass through the Cloudflare headers, so it always went to http rather than https. Fixed by making the ALB only serve https (which is how it should have been configured to begin with, so this really pointed out a configuration error with our network environment).

        1 Reply Last reply Reply Quote 1
        • joshuaJ
          joshua
          last edited by joshua

          Hi @alex,

          Yes, you are correct -- there is not a configuration for setting the host within FusionAuth. There are workarounds, but it sounds like you were able to find the most optimal solution using cloud network configuration settings.

          Thanks,
          Josh

          1 Reply Last reply Reply Quote 0
          • First post
            Last post