[Feature Request] Support Multiple Domains per Resource with Primary Domain Redirect Option #1565
Replies: 7 comments
|
This is similar to the request in #906 (2.2 Multiple Hostnames for a Single Resource). |
|
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. |
|
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. |
|
Thanks, converting this to a discussion thread so others can upvote and participate! |
|
id like that! now i have to create a source for everything on its own but if its a greeter page for instance i want to run a single nginx container and point multiple domains to it. |
|
Definitely looking to have that here, i've got domain.example and www.domain.example that i need to go to the same back-end resource but need 2 resources to handle that today. |
|
just updated to the latest release, and was sad to see that this still doesn't seem possible (though a lot of good work has been going on i see!) i do hope this will become possible soon, because right now i either have multiple resources for the same thing (which makes no sense), a site that gives a 404 if you don't use www, or mess around with the traefik config to redirect non-www domains to www forcibly directly from the traefik configs, which isn't a perfect solution either |
Uh oh!
There was an error while loading. Please reload this page.
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.All reactions