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

    Load Balancer and apache virtual hosts

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 639 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.
    • P Offline
      phil123456
      last edited by

      Hi,

      Load balancer works fine but now we have a domain name pointing to it and a
      coresponding virtual host on all apache frontends, the domain name points to the root index page of apache instead of the subfolder

      I cant find any setting in the load balancer that would deal with apache virtual hosts

      how can I fix this ? do I have to install haproxy ?

      thanks

      [edit: ok it was a proble of apache config]

      1 Reply Last reply Reply Quote 0
      • jimpJ Offline
        jimp Rebel Alliance Developer Netgate
        last edited by

        There is nothing to do in the built-in load balancer (relayd) for virtual hosts. The original client connection is forwarded in, it would still contain the host header that Apache needs to pick the right virtual host.

        We need a lot more info to say for sure what might help your situation, starting with what actually isn't working, how you're testing it, and so on.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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