reconfigure cloudron on local lan to recover portal access
-
In addition to a paid primary Cloudron running in cloud VPS, I have a local Cloudron for testing, which was assigned a domain name as usual.
Some time ago I moved the domain for the local deployment to my primary Cloudron to address an urgent requirement.
So the local machine is now 'orphaned'.
I can log in via SSH, but obviously I can't access its portal because the DNS is wrong.
Is it possible to change the local Cloudron config to a new domain (obviously set up the DNS first) so I can "recover" access to the portal ?Yes, I can wipe the machine and start again.
But would prefer to recover the current installation if possible. -
-
I think there was a documentation page for this before, but I cannot find it. Even if the domain is currently pointing towards a vps that is publicly reachable, you can still use your
hosts
file on your local machine to override the global dns settings.But to avoid confusion you should probably do this only to reconfigure the dashboard domain of your cloudron and then remove the entry from your hosts file again.
-
Thank you.
I also couldn't find anything in the docs.
It is rather an 'edge case' -
I think https://docs.cloudron.io/troubleshooting/#unreachable-dashboard ? The Expired domain section ?
-
Ah yes, I didn't think of it in those terms !
-
FYI minor typo in that section :
journactl -u nginx -fa
==>journalctl -u nginx -fa
-