How I can change jail ip url to domain name? So if I buy domain from godaddy.com and want use in nextcloud jail.
And make it run in HTTPS for security.
Buy a domain, register it with a DNS provider. Point the domain to an public IP where you have a reverse proxy listening and forwarding traffic to your Nextcloud instance.
...or point the domain to a public IP, forward ports 80/443 to the Nextcloud jail, and do TLS termination there--someone's written a script that handles all the necessary pieces of this in the jail.