Skip to content

Separate domain locked to specific subdirectory #352

@DonovanDMC

Description

@DonovanDMC

I'm coming from gitbook (they've finally sloppified their product enough for me to put effort into finding a good selfhosted alternative), one of the final things from gitbook that pushed me over the edge was removing the ability to have custom domains. I'd like to be able to do something like this without needing to host several completely distinct instances or needing a bunch of reverse proxy shenanigans.

For example, say I have wiki.example that contains various projects
I have a project, project.example, this project has a set of wiki pages on the wiki, I'd like to be able to serve those pages specifically at docs.project.example as if they were in the root, and ideally without showing everything else that exists in the root

https://wiki.example/Project -> https://docs.project.example
https://wiki.example/Project/File -> https://docs.project.example/File
etc

From what I can tell this is not even remotely possible currently, do you have any suggestions/is there a chance this could become a built in feature?

I'm open to hosting multiple instances with different roots but otherwise the same shared configuration if something like that could work, but that seems sketchy to me with the possibility of multiple instances reading/writing to the database at once, as well as git shenanigans

Metadata

Metadata

Assignees

No one assigned

    Labels

    not plannedThere are no plans to implement this function in the foreseeable future.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions