Skip to content

Conversation

Pallavikumarimdb
Copy link
Member

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

1. This PR implements the 2.2 Multiple Hostnames for a Single Resource, addressing issue #906.
2. Support Multiple Domains per Resource with Primary Domain Redirect Option, addressing issue #1243.

🔑 Key Features

  • Multiple Domains per Resource
    • Users can now specify more than one domain for a single resource.
  • Two Host Modes
    1. Primary Domain Redirect Mode
      • Allows selecting one domain as the primary.
      • All other assigned domains are redirected (HTTP 301) to the primary domain.
      • Helps maintain canonical URLs & SEO consistency.
    2. Multi-Domain Mode
      • All assigned domains serve the resource directly.
      • No redirects performed — each domain remains independently accessible.
image

How to test?

@Pallavikumarimdb Pallavikumarimdb force-pushed the enhancement-#906/multiple-hostnames branch from d89cc8f to 241d49c Compare August 27, 2025 14:20
@Pallavikumarimdb Pallavikumarimdb force-pushed the enhancement-#906/multiple-hostnames branch from fcc4d22 to 3b036b4 Compare September 4, 2025 14:30
@Pallavikumarimdb Pallavikumarimdb force-pushed the enhancement-#906/multiple-hostnames branch 2 times, most recently from c66e4bc to 61f73f9 Compare September 16, 2025 14:23
@Pallavikumarimdb Pallavikumarimdb force-pushed the enhancement-#906/multiple-hostnames branch from df56c77 to e9c7b08 Compare September 23, 2025 17:18
@oschwartz10612
Copy link
Member

Hey @Pallavikumarimdb sorry to close another one... Having given this thought we think we want to do two things:

  • The recommended way to manage multiple domains for now is to create multiple resources. This is because in many places we look up the resource by its domain, and making this many to one would have some cascading issues. We want to tackle it in the future but dont think it is time with other higher priority features and dont want this work to go stale.
  • Creating a separate side bar page and table for redirects. Here the user will create redirect items in the table that will take in a source and redirect to a destination. This would be generalizable across resources or external things as well.

Ill talk with you soon about 2nd one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants