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. Apps/services outside Cloudron

Apps/services outside Cloudron

Scheduled Pinned Locked Moved Solved Support
networkapp-proxy
11 Posts 5 Posters 1.3k Views 6 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.
  • C Offline
    C Offline
    cocam123
    wrote on last edited by joseph
    #1

    Hello. I would like to deploy services outside Cloudron except that when I set my domain, I get this :
    You are seeing this page because the DNS record of (domain) is set to this server's IP but Cloudron has no app configured for this domain.

    I'd like to change this to point to the IP address in question and the port of the service I've launched (it's on the same IP)

    Thanks in advance for your reply

    1 Reply Last reply
    1
    • matix131997M Offline
      matix131997M Offline
      matix131997
      wrote on last edited by
      #2

      @cocam123
      DNS looks for a page on port 80 and 443 and it is Cloudron that handles this by default via nginx. You would have to redirect via ‘App Proxy’ to a service outside Cloudron

      https://docs.cloudron.io/apps/#app-proxy

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cocam123
        wrote on last edited by
        #3

        well, is it possible to change it directly on Nginx?

        matix131997M 1 Reply Last reply
        0
        • C cocam123

          well, is it possible to change it directly on Nginx?

          matix131997M Offline
          matix131997M Offline
          matix131997
          wrote on last edited by
          #4

          @cocam123
          Not an option. That's because Cloudron automatically sets up nginx every time you start the server/application, so custom settings will disappear.

          I recommend using App Proxy.

          app proxy.PNG

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by joseph
            #5

            @cocam123 Is the app outside Cloudron? Not sure if this is what you are asking, but you can just adjust the DNS to point to the other server. Are you using wildcard DNS?

            Also, port information is not part of DNS.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cocam123
              wrote on last edited by
              #6

              yes the app is outside Cloudron. But then, trying to point my domain to this application causes Cloudron to come between the two (putting the error message there via Nginx, which I'd like to avoid)

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

                To further clarify, is the app installed on the same server and just managed outside of Cloudron or is the app actually running on some other server? In the last case, I am not sure why you would have setup the DNS to point to the Cloudron IP though.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  joseph
                  Staff
                  wrote on last edited by
                  #8

                  I feel we miss some information about your setup. Is there a single shared public IP between the servers? Otherwise, I fail to see how pointing the domain to another application will bring up Cloudron's nginx page...

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    cocam123
                    wrote on last edited by
                    #9

                    By the way, I currently have 3 vm's on my server. One on cloudron (it's my public vm with everything that needs to run in public), one for development (private) and the last one I'm really keeping to myself.

                    The thing is, on the public server I have an automation application that isn't on Cloudron (so it runs on the same ip and the same system). That's where I was wondering if it was possible to modify Nginx directly.

                    Then, if I have a suggestion to make, it's that Cloudron should allow us to make custom configuration files for nginx (like, it manages its own configuration for applications installed on Cloudron while leaving the possibility for users to make their own configuration for other sites/apps)

                    timconsidineT J 2 Replies Last reply
                    0
                    • C cocam123

                      By the way, I currently have 3 vm's on my server. One on cloudron (it's my public vm with everything that needs to run in public), one for development (private) and the last one I'm really keeping to myself.

                      The thing is, on the public server I have an automation application that isn't on Cloudron (so it runs on the same ip and the same system). That's where I was wondering if it was possible to modify Nginx directly.

                      Then, if I have a suggestion to make, it's that Cloudron should allow us to make custom configuration files for nginx (like, it manages its own configuration for applications installed on Cloudron while leaving the possibility for users to make their own configuration for other sites/apps)

                      timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote on last edited by
                      #10

                      @cocam123
                      (a) generally the design of Cloudron is for it to run in its own space, and best advice is don't install other software on same VM
                      (b) given you have a number of VMs on the server, can't you install your "automation software" in one of the others, or in its own VM
                      (c) your feature request just isn't the way Cloudron is designed, and the whole point is to avoid users having to (or being able to) make configuration changes - it's part of the stability features

                      It's taken 2-3 days to get to this level of knowledge, it could have taken 2-3 hours, if you could provide more information about your setup and your ambitions. Even now, you don't name the automation software. It might help if you did. For example, there's much discussion on installing Netdata next to Cloudron elsewhere here.

                      1 Reply Last reply
                      4
                      • C cocam123

                        By the way, I currently have 3 vm's on my server. One on cloudron (it's my public vm with everything that needs to run in public), one for development (private) and the last one I'm really keeping to myself.

                        The thing is, on the public server I have an automation application that isn't on Cloudron (so it runs on the same ip and the same system). That's where I was wondering if it was possible to modify Nginx directly.

                        Then, if I have a suggestion to make, it's that Cloudron should allow us to make custom configuration files for nginx (like, it manages its own configuration for applications installed on Cloudron while leaving the possibility for users to make their own configuration for other sites/apps)

                        J Offline
                        J Offline
                        joseph
                        Staff
                        wrote on last edited by
                        #11

                        @cocam123 as @timconsidine said, Cloudron is not designed to run alongside 3rd party software. The best approach here is to run your public stuff in a separate VM. Then, as @matix131997 said use the app proxy feature. This will set up nginx to proxy all the requests for the domain to this separate VM . App Proxy was designed specifically for the use case of running software outside of the VM and re-using the IP.

                        1 Reply Last reply
                        1
                        • J joseph marked this topic as a question on
                        • J joseph has marked this topic as solved 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