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. multiple domains to one app

multiple domains to one app

Scheduled Pinned Locked Moved Solved Feature Requests
feature-requestdomains
7 Posts 4 Posters 1.6k 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.
  • imc67I Offline
    imc67I Offline
    imc67
    translator
    wrote on last edited by girish
    #1

    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
    0
    • M Offline
      M Offline
      msbt
      App Dev
      wrote on last edited by
      #2

      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

      imc67I 1 Reply Last reply
      0
      • M msbt

        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

        imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote on last edited by
        #3

        @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
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          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.

          imc67I 1 Reply Last reply
          2
          • nebulonN nebulon

            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.

            imc67I Offline
            imc67I Offline
            imc67
            translator
            wrote on last edited by
            #5

            @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
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @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
              0
              • imc67I Offline
                imc67I Offline
                imc67
                translator
                wrote on last edited by
                #7

                This is awesome!!! Thanks @nebulon

                1 Reply Last reply
                0
                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