How to Setup Nextcloud (With HTTPS and Domain Name) 100% Free

Опубликовано: 04 Октябрь 2024
на канале: akvaithi
20,496
246

Hello everyone,
This guide will show you how to setup Nextcloud on your personal server and show you how to enable HTTPS and use a free domain. Please like, share and subscribe to my channel and leave your questions in the comment section down below.
__________________________________________________________________________
COMMANDS:

1. Installing Nextcloud
sudo snap install nextcloud

__________________________________________________________________________

__________________________________________________________________________
2. Setting up Nextcloud with your own username and password
sudo nextcloud.manual-install username password

Replace username and password with your own and make sure there is a space between them.
__________________________________________________________________________

__________________________________________________________________________
3. Adding the trusted domains to Nextcloud
sudo nextcloud.occ config:system:set trusted_domains 1 --value=example.com

Replace example.com with your your own domain or public IP when following the guide.
__________________________________________________________________________

__________________________________________________________________________
4. Settings up HTTPS with your server and domain name
a. Allowing ports 80 and 443 through the firewall
sudo ufw allow 80,443/tcp
b. Enabling HTTPS on our domain
sudo nextcloud.enable-https lets-encrypt
__________________________________________________________________________





_________________________________________________________________________
LINKS:

www.freenom.com

www.cloudflare.com
_________________________________________________________________________