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. Can't get my domain to work with Cloudron

Can't get my domain to work with Cloudron

Scheduled Pinned Locked Moved Solved Support
cloudflare
39 Posts 5 Posters 7.1k Views 5 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.
  • girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #30

    Unfortunately, we could never figure out why port forwarding does not work with @danteswrath 's router.

    @danteswrath If you like you can open a new thread here with your router information and maybe someone knows how to configure it properly.

    1 Reply Last reply
    0
    • girishG girish has marked this topic as solved on
    • M Offline
      M Offline
      MillCreeker
      wrote on last edited by
      #31

      Hello, I have the exact same problem here. Can you please help me confirm whether my router is the problem? That way I could try to figure it out with my provider 🙂

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

        @MillCreeker have you already followed the steps in this rather old thread by now? If so please give more context so we can better help you.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          MillCreeker
          wrote on last edited by
          #33

          Thank you @nebulon
          Yes, I have followed all the steps from this thread and here https://docs.cloudron.io/troubleshooting/

          I have a fresh install of Ubuntu and have installed Cloudron with the three given commands - it all worked fine. I also set up everything on Cloudflare. After the reboot, I entered my domain name and provided my Cloudflare global API key. The A record "my" was generated along with 3 TXT records from Cloudrion.
          Since then, nothing's working regarding Cloudrion 😕
          When trying to reach my.<domain_name>.net, it just loads until a timeout occurs. I have opened my ports accordingly, which I tested with curl my.<domain_name>.net with http and https respectively. Both couldn't connect, but http wanted to connect to port 80 and https to 443 (as instructed).
          I tried the aforementioned troubleshooting page and all my services seem to be running. Except for one, I guess. The docker container mysql was never running, and the image for it wasn't installed with the setup script. Not being able to establish a connection might stem from another issue tho, I would imagine.

          Also, I configured a static LAN IP for my server. So it shouldn't change. The public IP changes every few hours, but I have a dynamic DNS script running periodically to change it accordingly on Cloudflare.

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

            For the dynamic Ip, you might be interested in https://docs.cloudron.io/networking/#dynamic-dns

            Also since you indicate that you use Cloudflare, disable the proxying feature for a start. Also if you mean you were not able to connect via curl, do you get any error or actually can't reach the server in the first place? For the latter something is likely wrong with your router setup (port forwarding). Also you could check with curl -k https://<your local server IP> to see if that connects fine.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              MillCreeker
              wrote on last edited by
              #35

              I have proxy turned off since the start. When doing an insecure curl to the IP in my network, it returns an HTML site that looks like this:
              image.png

              I guess that's working so far at least 🙂
              What else could be the problem?
              For the record, my Cloudflare DNS records look like this:

              image.png

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

                If it works for the local IP within your network, than most likely its a port-forwarding our other routing issue with your router. Can you double check that? If you use some kind of fritzbox, it has an expose host feature, which you could maybe try instead of portforwarding rules.

                1 Reply Last reply
                0
                • girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #37

                  If you check the browser tab, it will tell you what queries are failing. Clearly , it is loading something. Have you tried a hard refresh / another browser already?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MillCreeker
                    wrote on last edited by
                    #38

                    @nebulon I have exposed the static LAN IP of my server via DMZ now and changed nothing in Cloudflare. The curls to the internal IP now return a "moved permanently" for http and "no SSL" for https respectively. When curl-ing the external IP, it's still trying to connect to the correct ports but only throws a timeout.

                    @girish I have tryied it in brave, chrome, edge, firefox, and the terminal, same result across the board. When trying the internal IP, it redirects automatically to my.<domain>.net/setup.html. Loading this template always fails with a timeout 😕
                    When trying to connect to just my.<domain>.net it doesn't redirect to the setup page.

                    At this point I'm not sure my router's the problem. It does what is asked of it, but the Cloudron server can't establish connections.

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

                      In the past I have only seen the angular templates, if the browser has javascript disabled or the javascript files are not loaded. Do you see failing requests in your browser console?

                      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