How to Change a Local Domain to a Public One in Cloudron?
-
Hi everyone,
I have set up a LAMP application on Cloudron using a local domain on my own server through a VPN, and everything seems to be working fine after editing my computer's hosts file.However, I would like to know the correct procedure to change the domain to a public one when the application moves to production.
What steps should I follow?
-
Does your Cloudron also use a local domain ? Or only the lamp app?
When you say local domain do you mean something like
.local
?Are you using self signed certs and Manual DNS provider ?
The final approach is: add Domain to Cloudron in Domains view (note you add the top level domain like bar.com and not the app domain). then, go to LAMP app -> Location -> change the drop down to bar.com and choose some subdomain like app. That should bei t.
-
I'm currently using a .local domain and have asked end-users to edit their hosts files for web application testing. As a result, I'm using self-signed certificates. When I switch to a public domain, obtaining an SSL certificate from Comodo or GoDaddy won't be a problem.
My concern is whether the VPS's current private IP could cause issues, considering the public IP is on the external firewall.