So my situation is the following. I recently bought the domain fmaier.net. i have a public ip which i got from my provider which is assigned to my fritzbox. Now im trying to make a clean URL for my Nextcloud. So f.e. I have a Hypervisor (Proxmox) installed where multiple VM’s are running. So theres Nextcloud, Mailcow, etc. I am now trying to make so that i can type “nextcloud.fmaier.net” and i automatically get to my nextcloud. The Problem right now is 1. that the Nextcloud port is not the standard one so i always have to type nextcloud.fmaier.net:‘port’ which i think is kinda not nice and so i want to change that. anyone have a good recommendation how i can make this clean
Cloudflare has multiple solutions for this situation. You can specify the port with an Origin rule when you proxy traffic, or you can use a tunnel and specify the port with that.
However, you should be aware that using the proxy for a Nextcloud is actually against (kinda) Cloudflare’s terms of service, and you will likely run into problems with your traffic getting throttled or outright blocked if there is too much.
You can probably still use the proxy if you only want to backup some documents or photos. It really only starts to become problematic if you have a lot of traffic.
Anyway, why don’t you just change the Nextcloud port to 443? That would make life a lot easuer for you.
because i have more services running for example i want to make a website with port 443. Then there should be buttons which redirect you to the spicific service. F.e. nextcloud
It is very common to have multiple services running on the same port. For Nextcloud, you should probably have a reverse proxy like Apache or Nginx anyway.
You have one service running on port 443, for example Nginx. Nginx then takes all requests, terminates SSL and either serves the requests directly or forwards them to other services you are running locally.
I’m not sure what you mean by that. You either configure port forwarding on your FritzBox or use a tunnel to bypass that.
yes i currently use port forwarding on the fritzbox. So if i understand it correctly i would setup one port forwarding to the nginx server and then this server would do all the trafficking to other services right?
I assume that is a website where you can read/write emails? That should be no problem.
There are tons of resources on how to configure Nginx out there. Maybe start by putting a simple hello_world.html file up and make it available via https, and then you can go from there and add the proxy configuration and listeners for your other services.