mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 05:39:49 -05:00
[GH-ISSUE #1243] [Feature Request] Support Multiple Domains per Resource with Primary Domain Redirect Option #3767
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mgasche on GitHub (Aug 8, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1243
Originally assigned to: @oschwartz10612, @Pallavikumarimdb on GitHub.
It would be very useful to have the ability to assign multiple domains to a single resource in Pangolin.
Currently, a resource seems to be tied to a single domain.
This limits flexibility when a service should be accessible via multiple domains or subdomains.
Proposed Feature
Add support for specifying multiple domains for a given resource, along with a setting to determine how Pangolin should handle requests to these domains.
Two modes could be available:
Primary Domain Redirect Mode
Multi-Domain Mode
Benefits
example.chandwww.example.ch, allowing one of them to be declared as the primary domain while redirecting the other.@Pallavikumarimdb commented on GitHub (Aug 12, 2025):
This is similar to the request in #906 (2.2 Multiple Hostnames for a Single Resource).
I’m already working on that issue, so this feature will be addressed as part of that implementation.
@eggman9713 commented on GitHub (Aug 15, 2025):
This will be very useful for applications where I can only configure one domain for a resource on a client but it needs to function both inside the network and outside. For resource.domain.com, a local DNS record will capture that request and reroute it back inside the network but it will work through Pangolin on the outside. If I need to go from inside the network through Pangolin and back (usually just for testing purposes), using a subdomain like remote.resource.domain.com that local DNS won't capture will be excellent.
@github-actions[bot] commented on GitHub (Aug 30, 2025):
This issue has been automatically marked as stale due to 14 days of inactivity. It will be closed in 14 days if no further activity occurs.
@miloschwartz commented on GitHub (Sep 27, 2025):
Thanks, converting this to a discussion thread so others can upvote and participate!