Hi! I have a kvm running my servers and nginx. How can I make the nginx server inside kvm redirect proxmox to my domain? Or what do you suggest me to host proxmox outside the network without using public IP?
the answer to that partly depends on the network configuration of your PVE machine. if you have only a single public IP address (e.g. residential or server at a hoster), then you can try making a masquerading setup [0] to redirect the ports you need to your VM's internal IP address.
if you want to access the PVE GUI using a domain name you can also take a look at setting up a reverse proxy using nginx [1]
you will still need an accessible public IP address for your domain to work
the answer to that partly depends on the network configuration of your PVE machine. if you have only a single public IP address (e.g. residential or server at a hoster), then you can try making a masquerading setup [0] to redirect the ports you need to your VM's internal IP address.
if you want to access the PVE GUI using a domain name you can also take a look at setting up a reverse proxy using nginx [1]
Thank you so much for your reply. Inside proxmox kvm I have nextcloud server1, nextcloud server2, nextcloud server3(examples). And I already have nginx proxy installed on the same kvm. The question is is there a config where I can point to host to be able to use domain? I already have domain + ssl on nextcloud1, nextcloud2 .... Or should i install nginx on proxmox host too? and do same configuretations.
if you want them all working on the same port, e.g. 443, then it would make sense to install the nginx proxy on the PVE host.
if you don't mind having the sites running on different ports then you can just follow the masquerading setup i've linked before, and you should be able to portforward the things you need. for example:
- nextcloud1: 192.168.1.100
- PVE public IP: 1.2.3.4
set up forwarding for nextcloud1, let's say you forward port 8443 -> 443
internet -> domain name -> your.pve.public.address:8443 -> 192.168.1.100:443
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.