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. Support
  3. Proxy subdomain from root domain

Proxy subdomain from root domain

Scheduled Pinned Locked Moved Unsolved Support
7 Posts 2 Posters 1.1k Views 2 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.
    • yusfY Offline
      yusfY Offline
      yusf
      wrote on last edited by
      #1

      I need to serve a Cloudron application on my root domain but from the subdomain it's installed on (for some port or ports) Essentially creating a reverse proxy but since there are no reverse proxy apps for Cloudron, how would I do it? Ideally I'd like to serve completely different services on other ports such as web at 443.

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        I don't really understand the use-case for the portmapping as such, but it is unlikely Cloudron will support much further customization on the portmapping.

        Regarding the first question, is the redirect feature helping here? https://cloudron.io/documentation/apps/#setting-up-redirections

        1 Reply Last reply
        0
        • yusfY Offline
          yusfY Offline
          yusf
          wrote on last edited by
          #3

          Sorry for being unclear. What I need is the to be able to use the root domain as handle for federated app accounts such as Matrix/Synapse, Mastodon, PixelFed, PeerTube etc:
          @name:server.tld
          instead of
          @name.subdomain.server.tld.

          Have you ever considered enabling some special configuration options for root domains in Cloudron? Like, there's already an Nginx proxy in front of every rootdomain, right? Perhaps it'd be possible for some light, sandboxed customizations of said proxy.

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            I see what you mean now. We haven't worked towards the use-case of such federated account handles yet. It will require some more thoughts spent on the topic. There are also the special DNS records for discoverability of such services, which likely play into this as well.

            To be clear, currently this is not possible and we are not focusing on this in the next release at least. But it is good to start collecting the requirements for this.

            1 Reply Last reply
            2
            • yusfY Offline
              yusfY Offline
              yusf
              wrote on last edited by yusf
              #5

              Alright, thank you for considering it for future releases. I'm thinking that hacking the LAMP app to make Apache do the reverse proxying might solve it for now, but I've yet to try that.

              1 Reply Last reply
              0
              • yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by
                #6

                Well using the LAMP app didn't work, because reasons. 😕

                1 Reply Last reply
                0
                • yusfY Offline
                  yusfY Offline
                  yusf
                  wrote on last edited by yusf
                  #7

                  @nebulon Would a simple Cloudron app with just the nginx reverse proxy configuration work?

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