Dropbox is being dumb now, so I guess it’s time to figure out how to setup NextCloud.
Before getting too far into this, I wanted to find out how this works. I have a VPS with a functional (yet very basic) website running. I want to have the NextCloud installed and running local, on a server on my home network.
Is it possible to have the web portion of a local NextCloud install run on (or connect to?) a remote VPS-based sub-domain? If that makes sense?
Through namecheap. Need to figure out subdomains still.
I could just change all the IPs to my public home IP. Internet is garbage 6 down, .75 up. I don’t think the IP changes often, but it’s not static. And I should be moving in a few months.
Just to clarify the storage does not have to be on the same server as the web server and Nextcloud software. My Nextcloud server is on my desk running in a Udoo x86 while the storage is accessed via a mount point to my FreeNAS.
External storage support is included out of the box as well.
I have a guide here. which hopefully helps (although somewhat out of date now). Your setup scenario sounds a little different to mine though.
Nextcloud is enterprise grade software. In that scenario it would be setup as detailed in this whitepaper.
I’ve been working on domain name records stuff before installing and setting up nextcloud.
Before doing the subdomain thing on the local system nextcloud will be installed on, I was trying to figure out subdomains on the VPS.
Following some guides, it seems pretty straight forward. Multiple guides all say the same thing, and I have double checked and I have nginx setup correctly and the files are all in the right place.
But when going to the subdomain in a browser the index.html from the main site is displayed. I’m not sure why.
I’m doing the DNS records through DigitalOcean, as they seem to suggest doing it that way. I have DO’s nameservers setup at NameCheap, and the A records are setup at DO and pointing to the droplet IP address.
I’m going to let it sit for a while or overnight to see if it just needs time to update records or something. Otherwise, it might be that DO can’t do DNS records for other IPs?
Not true an nginx proxy could forward the traffic to the specific endpoint of a VPN to the vps from the actual nextcloud server with port forwarding inside the tunnel
Just require some interesting masquerading and NATing. I’m currently working on it. It’s not for the faint of heart at all