Solved I have problems for a domain that I did not renew and change for another
Hello, how are you, I changed the domain that expired for a newer one, but I can't enter the cloudron control panel, do you have to delete everything to change the domain?
@dinamico99 you don't have to delete and start over. But, can you explain a bit what you mean by "changed the domain" ? Where and what exactly did you change? Are you saying you changed it using https://docs.cloudron.io/domains/#dashboard-domain but now cannot access the dashboard ?
@girish Thanks for responding, what I did was change the old domain that expired for a new one by applying these commands, changing the "example.com" for the new domain and is explained on this page : https://docs.cloudron.io/troubleshooting/ , but unfortunately it does not allow the cloudrom board to enter, the page say " You are seeing this page because this domain points to Cloudron server IP but no app is installed on that domain."**
what I used was this explained for those who do not have access to the dashboard :
If the dashboard was using a domain that you no longer control and you want to switch it to a new domain, change it via the dashboard as mentioned here or if the dashboard is not reachable anymore do the following:
Run those commands to update the database records manually, make sure to change example.com in both:
mysql -uroot -ppassword box -e "UPDATE settings SET value='example.com' WHERE name='admin_domain'"
mysql -uroot -ppassword box -e "UPDATE settings SET value='my.example.com' WHERE name='admin_fqdn'"
Add an A record manually in your DNS provider for my.example.com to your server's IP
Run the command systemctl restart box
In a few minutes, you should be able to reach https://my.example.com. You may have to purge the site from your browser's history to get over HSTS certificate issues.
@dinamico99 thanks for the info! I replied to your support ticket on email. Will post resolution here once we figure out what the problem is.
The issue was that the docs assumed that the domain is already added in the Domains view. I will fix the docs.
OK, I have fixed up https://docs.cloudron.io/troubleshooting/#unreachable-dashboard
@girish Thanks for your help, I was able to solve everything without erasing the entire system, excellent and quick solution.