How can I run Nextcloud using HTTPS without a domain?

Hi Nextcloud Community! I previously ran Nextcloud on a .ga free domain but that got rescinded by the country whose domain it corresponded to.
I have an Oracle Free Tier server running Nextcloud 27 as a snap. Currently it is running on the server’s public IP at port 8096 as http. Is there any free way I can run my server using https or at least run my instance in a way that my security is assured?
Any and all suggestions are greatly appreciated!!

I run my NextCloud as a container in ProxMox (YouTube it). You will need a public/static IP address (Call ISP), do some port forwarding (on Modem and personal router if you have one), and edit the config.php file to add your public IP address to it. Then all you have to do is type in https://Your Public IP.
Add your IP
Command 1 - cd /var/www/nextcloud/config
Command 2 - nano config.php


Snap can run with self signed SSL certificate without a domain.

Run following command for more information

sudo nextcloud.enable-https -h

Refer here → GitHub - nextcloud-snap/nextcloud-snap: :cloud::package: Nextcloud packaged as a snap
& Refer here → Self-signed cert for snap - :information_source: Support / :package: Appliances (Docker, Snappy, VM, NCP, AIO) - Nextcloud community


1 Like