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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved multiple domains to one app

    Feature Requests
    feature-request domains
    4
    7
    416
    Loading More Posts
    • 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.
    • imc67
      imc67 translator last edited by girish

      Hi!

      Cloudron 4 is absolutely awesome, thanks for this product. I'm currently moving some sites to Cloudron and have the following question for which I couldn't find an answer in docs or forum:

      I want multiple domains "redirected" to one app.

      I can add multiple domains in Admin area but In can't find the solution to redirect them all to one app.

      Example: app on abc.com, extra domains def.com, ghi.com, jkl.org all redirecting to abc.com

      Does anyone knows if this is possible?

      Kind regards,

      Marcel.

      1 Reply Last reply Reply Quote 0
      • M
        msbt App Dev last edited by

        Hey Marcel,
        you can set up LAMP apps for each domain (don't forget to enable www redirection in the settings) and add a .htaccess file with the url you wish to redirect to, explained here.

        Best regards

        imc67 1 Reply Last reply Reply Quote 0
        • imc67
          imc67 translator @msbt last edited by

          @msbt Thanks for this quick answer and "workaround" (imho). In my case it's about 12 domainnames, so I have to setup 12 extra LAMP apps just to make this possible?!

          I really think this is basic functionality on Cloudron server level, in the world of website hosting it is really common to have more domain names redirecting to one site.

          For now this is for me a showstopper for using/expanding with Cloudron 😞

          Can support team elaborate on this?

          Kind regards,

          Marcel.

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            Hi, we already support this API wise, but this is not exposed via the dashboard. Mostly because it appeared to be a corner case, which adds clutter to the UI.

            You can do this now as documented in https://cloudron.io/developer/api/#configure-app

            We can add this in the next release to the dashboard.

            imc67 1 Reply Last reply Reply Quote 2
            • imc67
              imc67 translator @nebulon last edited by

              @nebulon Hi Johannes, it would be great to add it to the dashboard, it's then conform the biggest competitors of Cloudron and very needed 🙂

              I tried to figure out your advise to do it via API but for me at this time it's too complex.

              Kind regards,

              Marcel.

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                @imc67 I put this as part of our 4.1 roadmap - https://forum.cloudron.io/topic/1789/what-s-coming-in-4-1 . I will email you once it's done, so you can preview the release early.

                1 Reply Last reply Reply Quote 0
                • imc67
                  imc67 translator last edited by

                  This is awesome!!! Thanks @nebulon

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB