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. Feature Requests
  3. Apps with multiple domains

Apps with multiple domains

Scheduled Pinned Locked Moved Unsolved Feature Requests
dnsdomains
8 Posts 3 Posters 1.6k Views 3 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.
  • JOduMonTJ Offline
    JOduMonTJ Offline
    JOduMonT
    wrote on last edited by
    #1

    It would be nice, and useful in some case, that Cloudron App support multiple domain and not just only redirection.

    I see some potential issue with some application like Matrix, but for apps like Nextcloud it is simply a matter of adding the domain in nginx and Nextcloud configuration.

    Here an example; just to be sure, we understand the same thing:

    • cloud.domain1.tld
    • cloud.domain2.tld
    • cloud.domain3.tld

    would all answer the queries without being redirected to cloud.domain1.tld

    What do you think ?

    girishG 1 Reply Last reply
    1
    • JOduMonTJ JOduMonT

      It would be nice, and useful in some case, that Cloudron App support multiple domain and not just only redirection.

      I see some potential issue with some application like Matrix, but for apps like Nextcloud it is simply a matter of adding the domain in nginx and Nextcloud configuration.

      Here an example; just to be sure, we understand the same thing:

      • cloud.domain1.tld
      • cloud.domain2.tld
      • cloud.domain3.tld

      would all answer the queries without being redirected to cloud.domain1.tld

      What do you think ?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by girish
      #2

      @jodumont For apps that require multiple domains from the get-go i.e they require multiple domains at installations time, this is part of the next release (7.1) - https://forum.cloudron.io/topic/5982/what-s-coming-in-cloudron-7-1 .

      Many (most?) apps can only handle being configured with a single domain. There is usually an APP_ORIGIN or equivalent setting that can only be set to one domain and is not an array. It is used by the app to set up CORS headers, generate static links, email links etc.

      D 1 Reply Last reply
      4
      • girishG girish

        @jodumont For apps that require multiple domains from the get-go i.e they require multiple domains at installations time, this is part of the next release (7.1) - https://forum.cloudron.io/topic/5982/what-s-coming-in-cloudron-7-1 .

        Many (most?) apps can only handle being configured with a single domain. There is usually an APP_ORIGIN or equivalent setting that can only be set to one domain and is not an array. It is used by the app to set up CORS headers, generate static links, email links etc.

        D Offline
        D Offline
        d1rk
        wrote on last edited by
        #3

        @girish I do have the same issue / question. If I do run a Wordpress website with a multilang plugin, that plugin allows me to have different domains (pointing at the very same Wordpress instance) to select the language, that is being used.

        E.g.:

        foo.de
        foo.com

        Would that be possible with the current Wordpress App? What would I need to do, in order to be able to use this feature?

        Thanks for your help.

        girishG 1 Reply Last reply
        0
        • D d1rk

          @girish I do have the same issue / question. If I do run a Wordpress website with a multilang plugin, that plugin allows me to have different domains (pointing at the very same Wordpress instance) to select the language, that is being used.

          E.g.:

          foo.de
          foo.com

          Would that be possible with the current Wordpress App? What would I need to do, in order to be able to use this feature?

          Thanks for your help.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @d1rk that should already work with domain aliases ?

          D 1 Reply Last reply
          1
          • girishG girish

            @d1rk that should already work with domain aliases ?

            D Offline
            D Offline
            d1rk
            wrote on last edited by
            #5

            @girish Thanks for your reply and your support. That is greatly appreciated.

            I would have assumed to have something like that. I do not have such an option available, as you can see here:

            https://cln.sh/t7wls0kf

            From the color of the app-logo, I expect that you use a different version of the wordpress app, don't you? Do you think the managed version will support an alias, as well? I don't see an issue, with that.

            girishG 1 Reply Last reply
            0
            • D d1rk

              @girish Thanks for your reply and your support. That is greatly appreciated.

              I would have assumed to have something like that. I do not have such an option available, as you can see here:

              https://cln.sh/t7wls0kf

              From the color of the app-logo, I expect that you use a different version of the wordpress app, don't you? Do you think the managed version will support an alias, as well? I don't see an issue, with that.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #6

              @d1rk that should be easy to add. Can you tell me your use case for adding an alias domain into WP though ? Reason, I ask is that if you are trying to build a multi-site, then we have a WP Developer app, which might be better suites for that. See https://docs.cloudron.io/apps/wordpress-developer/#multisite

              D 1 Reply Last reply
              1
              • girishG girish

                @d1rk that should be easy to add. Can you tell me your use case for adding an alias domain into WP though ? Reason, I ask is that if you are trying to build a multi-site, then we have a WP Developer app, which might be better suites for that. See https://docs.cloudron.io/apps/wordpress-developer/#multisite

                D Offline
                D Offline
                d1rk
                wrote on last edited by d1rk
                #7

                @girish Hey, no. No multisite: Some Plugins allow translation or other kind of services through the use of different domains.

                Have a look for example at this:

                https://cln.sh/cSMg8YWg

                This makes use of the domain-feature in polylang, documentation for this can be found here:

                https://polylang.pro/doc/url-modifications/#subdomains-name-and-domains

                It is just one use-case, but a couple of plugins make use of such a feature. So, if you could add that to the managed Wordpress app, that would be amazing. I bet there are other customers that could make use of that feature.

                I See, though, why you would go for the developer version of Wordpress for a multisite. But that is not, what I am looking for.

                Thanks for your support.

                girishG 1 Reply Last reply
                1
                • D d1rk

                  @girish Hey, no. No multisite: Some Plugins allow translation or other kind of services through the use of different domains.

                  Have a look for example at this:

                  https://cln.sh/cSMg8YWg

                  This makes use of the domain-feature in polylang, documentation for this can be found here:

                  https://polylang.pro/doc/url-modifications/#subdomains-name-and-domains

                  It is just one use-case, but a couple of plugins make use of such a feature. So, if you could add that to the managed Wordpress app, that would be amazing. I bet there are other customers that could make use of that feature.

                  I See, though, why you would go for the developer version of Wordpress for a multisite. But that is not, what I am looking for.

                  Thanks for your support.

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @d1rk I have added the multi domain flag to the manifest. Let me know if it works OK.

                  1 Reply Last reply
                  1
                  • nebulonN nebulon marked this topic as a question on
                  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