Hi. Please do bear with me. I’m a coder mainly, who is trying to get nextcloud set up on his home server. I’m afraid my networking knowledge is scrappy - so may be grating to those who know their onions!
I’m running Windows Server 2016 + IIS. This server has a static Lan IP address of, let’s say 192.168.1.25. I successfully serve IIS websites, SVN repos, FTP servers etc from it via a number of registered domain names.
I also have a static IP through my ISP.
I have successfully installed the Hansson IT Nextcloud VM via VirtualBox and can access this fine via the LAN address. I skipped the https setup - more on that later. The network adapter is set to Bridged and NextCloud appears as its own LAN IP on my router (let’s say 192.168.1.75). I’ve locked the MAC to that LAN IP address.
Ultimately, I’d like to be able to access my nextcloud server over the web via a domain. Ideally, I’d like to use the domain name that I use for all my personal applications (let’s say me.org.uk). However, this domain also maps to other servers on my server such as the ftp, svn and file servers (that is IIS maps me.org.uk to 192.1.168.25 - the server’s static IP). Thus, I realise this may not be possible. If not, then would make do with using another domain solely dedicated to the nextcloud server (or not sure if I could set up some kind of sub domain - more research needed).
Now this is where I get lost. I followed the guide here: https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W6-83ePiqQz3_MrT/publish-your-server-online
The issue is that I can’t map ports 80 and 443 to the nextcloud IP (192.168.1.75) because these are already mapped to my server and its services (192.168.1.25).
The other issue is the https certification. I use WinAcme to auto generate free https certificates for domains on my server. Thus, me.org.uk has its own certificate managed through this. I’m not sure how I would tie this into a https connection to the nextcloud server.
Again, apologies if this is really newb, but networking stuff is a blindspot for me. I’m also VERY new to VMWare + that extra layer of abstraction blows my small head.
I’m really excited to cut the cord (and avoid being stung 2 years down the line by unscrupulous companies!), but struggling at this last step. I’d be looking to purchase the larger Hansson VM packages as I do a lot of work with large numbers of media files on the move, so lots of storage is a must.
I do hope someone can help and thanks in advance if you do.