Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. mirror application: one app, two domains

mirror application: one app, two domains

Scheduled Pinned Locked Moved Discourse
5 Posts 4 Posters 778 Views 4 Watching
  • 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 Offline
    M Offline
    mononym
    wrote on last edited by
    #1

    Hello.

    Our community bumped into a stupid issue. We run an independent discourse instance to federate users from different academic institutions working in the same field. One of those stuffy institutions has decided to block access to our site from their network. Why, you ask? Most probably because their system doesn't like our fancy TLD name or so. Emails still go through, funnily.

    I'm an optimist. So I think that this roadblock will eventually be cleared (after all, we're dealing with bureaucrats here), but experience tells me it might take an eternity. In the meantime, I've come up with a brilliant plan to keep things running smoothly for everyone.

    For now, I try out to change the forum to a more conventional domain name and redirect the nice URL to the boring one. But ideally, what I really want is for the entire Discourse app to be mirrored – identical twins, if you will – each living under a separate domain name. That way, users from Snore Institution can stick to the boring URL while the rest of us enjoy the platform under its original identity. Is this possible by any chance ? Maybe by sharing the same storage volume with two different apps ?

    Thanks for you help !

    robiR 1 Reply Last reply
    0
    • M mononym

      Hello.

      Our community bumped into a stupid issue. We run an independent discourse instance to federate users from different academic institutions working in the same field. One of those stuffy institutions has decided to block access to our site from their network. Why, you ask? Most probably because their system doesn't like our fancy TLD name or so. Emails still go through, funnily.

      I'm an optimist. So I think that this roadblock will eventually be cleared (after all, we're dealing with bureaucrats here), but experience tells me it might take an eternity. In the meantime, I've come up with a brilliant plan to keep things running smoothly for everyone.

      For now, I try out to change the forum to a more conventional domain name and redirect the nice URL to the boring one. But ideally, what I really want is for the entire Discourse app to be mirrored – identical twins, if you will – each living under a separate domain name. That way, users from Snore Institution can stick to the boring URL while the rest of us enjoy the platform under its original identity. Is this possible by any chance ? Maybe by sharing the same storage volume with two different apps ?

      Thanks for you help !

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      @mononym just add an alias to the app, so you can get to the same app from multiple domains.

      Conscious tech

      jdaviescoatesJ 1 Reply Last reply
      1
      • robiR robi

        @mononym just add an alias to the app, so you can get to the same app from multiple domains.

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #3

        @robi said in mirror application: one app, two domains:

        @mononym just add an alias to the app, so you can get to the same app from multiple domains.

        Good idea, but it doesn't look like the Discourse app has aliases enabled

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        1
        • girishG girish moved this topic from Support on
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          Aliases only work if the app has been tested against such a setup. For example, an app may not like requests coming from multiple domains (for example, cookies logic in code can support only one domain).

          1 Reply Last reply
          2
          • M Offline
            M Offline
            mononym
            wrote on last edited by
            #5

            Seems impossible 😞

            https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306

            Maybe it would be nice to show this in the App Store, like with badges or something... We chose Discourse over NodeBB for no apparent reason. Maybe it would have made a difference.

            1 Reply Last reply
            3
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search