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

Multiple domains using the same IP

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 2 Posters 177 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.
  • M
    McMurphy
    last edited by Oct 29, 2024, 9:55 PM

    We have a hosted server that only has a single public IP

    Is it possible to host multiple servers behind pfsense and have them all accessible via this single public IP with pfsense directing traffic based upon the domain used?

    i.e.
    If a.comany.com & b.company.com both share the same public IP

    a.company.com => serverA
    b.company.com => serverB

    1 Reply Last reply Reply Quote 0
    • T
      tinfoilmatt
      last edited by Oct 29, 2024, 11:56 PM

      "Reverse proxies can inspect HTTP headers, which, for example, allows them to present a single IP address to the Internet while relaying requests to different internal servers based on the URL of the HTTP request. "

      https://en.wikipedia.org/wiki/Reverse_proxy

      M 1 Reply Last reply Oct 30, 2024, 12:09 AM Reply Quote 0
      • M
        McMurphy @tinfoilmatt
        last edited by Oct 30, 2024, 12:09 AM

        @cyberconsultants

        Perfect, and pfSense can do this?

        T 1 Reply Last reply Oct 30, 2024, 1:23 AM Reply Quote 0
        • T
          tinfoilmatt @McMurphy
          last edited by Oct 30, 2024, 1:23 AM

          @McMurphy Both an HAProxy (including a -devel version) and Squid package exist via Package Manager. I could not speak to which would be better for your use case as I have no use for either one.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received