Apps with multiple domains
-
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 ?
-
@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. -
@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.:
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.
-
@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:
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.
-
@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
-
@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:
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.
-