Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

After IP Change No Access to Dashboard or Apps

Scheduled Pinned Locked Moved Solved Support
10 Posts 4 Posters 777 Views
    • 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.
  • ShaiS Offline
    ShaiS Offline
    Shai
    wrote on last edited by
    #1

    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.

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to Shai on last edited by
    #2

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

    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

    O 1 Reply Last reply
    0
  • ShaiS Offline
    ShaiS Offline
    Shai
    wrote on last edited by Shai
    #4

    @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.

    girishG 1 Reply Last reply
    1
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #5

    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

    1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to Shai on last edited by
    #6

    @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.

    ShaiS 1 Reply Last reply
    0
  • ShaiS Offline
    ShaiS Offline
    Shai
    replied to girish on last edited by
    #7

    @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
    1
  • O Offline
    O Offline
    OneTools Project
    replied to girish on last edited by
    #8

    @girish. Hi, I knwo this case is cloesed and a bit old but I have a related question.
    I use the funciton for the dynamic DNS update and it works fine for the "main" domain, but for my apps, I created manually A-type entries, as mentioned in a documentation and the IP addresses of the apps are not being updated.

    Is there something I'm missing or that I can do differently?

    Thanks in advance.

    Bob

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to OneTools Project on last edited by
    #9

    @OneTools-Project are you using one of the programmatic DNS providers (like cloudflare, digitalocean, linode, vultr) etc for the app domain(s) ? Cloudron can only update the DNS if it has programmatic access to the DNS. So, if the domains are manual/wildcard, the dynamic DNS functionality won't work.

    O 1 Reply Last reply
    0
  • O Offline
    O Offline
    OneTools Project
    replied to girish on last edited by
    #10

    Hi @girish.
    Thanks for your quick response.
    I use a manual domain, so it seams I have to update IP's manually.
    To bad but thanks.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks