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 After IP Change No Access to Dashboard or Apps

    Support
    3
    7
    434
    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.
    • Shai
      Shai last edited by

      I'm using Cloudron on a home server. I just set this up in the last couple of days, migrating it from a Linode.

      I thought I'd worry about dynamic IP later since I find that if I keep the router connected I can go six months without the IP updating.

      But oops, I wasn't thinking about that when the new router arrived today. There is a new IP address after router install. I immediately changed all the DNS records manually at Namecheap to point to the new IP.

      The URL using the domain name is indeed hitting my server but I'm getting unsafe browsing warnings and when I "go ahead anyway" I get Forbidden. Your client does not have permission to get this page from this server.

      Setting up the static local IP on the server as well as port-forwarding 443 and 80 are all good to go. I can ssh into the server without issue.

      It seems like LetsEncrypt needs to run again but I have no way of getting to the dashboard.

      When I ssh'd in I noticed that letsencrypt/certbot is not installed on the server. I thought about installing it but thought the better of it since this is clearly controlled by Cloudron magic and so I stopped fussing and came here to get support.

      Thanks.

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

        @shai Can you tell us more about your setup? I am pretty sure it's not cert related, because certs are not affected by IP changes.

        Specifically:

        • Did you change DNS records to the internal home IP or the public IP?
        • You can check if the DNS has actually propagated by doing host my.cloudrondomain.com on your laptop. Does it display the correct IP?
        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          Also, once you have things up and running, you can turn on Dynamic DNS - https://docs.cloudron.io/networking/#dynamic-dns . It will keep the DNS updated automatically

          1 Reply Last reply Reply Quote 0
          • Shai
            Shai last edited by Shai

            @girish thx. It was really helpful for you to say that you didn't think the problem was with the cert. It got me thinking outside that box.

            The problem was that I hadn't properly set up Nat loopback support on the new router (the config for that was different from the one on the old router).

            I had to un-tick the box "Stop DNS Rebind" in order to get my site to resolve on my local computers (access from outside my network was fine --which I hadn't realized at first).

            There was a big warning when I unticked that setting. Any thoughts on this. It's possible that I have some other local network or router setting that isn't quite right.

            Thx.

            girish 1 Reply Last reply Reply Quote 1
            • atridad
              atridad App Dev last edited by

              Ran into these issues on my server as well when I started using a new router bridged to my modem. Had me quite panicked until I figured out it was NAT loopback. It took a friend of mine telling me it worked for them for me to clue in

              I type things and sometimes those things end up in your browser. 🏳️‍🌈🇮🇷🇨🇦

              1 Reply Last reply Reply Quote 1
              • girish
                girish Staff @Shai last edited by

                @shai Ah, great intuition 🙂 I remember mentioning NAT loopback in https://blog.cloudron.io/installing-cloudron-on-a-home-server/ . I will add this note in our install page.

                Shai 1 Reply Last reply Reply Quote 1
                • Shai
                  Shai @girish last edited by

                  @girish wrote "I remember mentioning NAT loopback in https://blog.cloudron.io/installing-cloudron-on-a-home-server/."

                  That is indeed where I learned about it and was diligent when I set up the old router... but forgot about it it completely when setting up the new one. Always a good idea to work from docs and not just your own head.

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