Vhosts promox VE

tristan

Member
Feb 10, 2021
5
0
21
47
Bonjour à tous,
Quelqu'un sait il gérer les Vhost sous proxmox. Il semble que le serveur web est Apache2 ?

Hie Every Body,
Is any body knows how vhosts works under proxmox VE ?

Merci par avance7
Tristan
 
What do you want to accomplish with that?
 
Dominic,
First, thank you for your interest...Be kind about me caus' of my English ! I'm sorry...
I ve several LXC and VM runing. I want to catch them from the internet.
The ports on my Box are open( 80 and 443 ) and redirected to my Proxmox Machine.
I ve created many subdomains behind my own domain. I just want to route each subdomain coming from internet to each LXC or VM.
I hope you understand me...
Best regard
Tristan
 
Last edited:
I saw that apache2 is running under my Promox, I wonder if i can create Vhosts to redirect all my sub-domains to the LXC or VM target ?
 
all the fowarding of my domain, subdomains works (link to my own server without issues ) ----> Dynhosts by OVH provider permit all thoses redirections
Actually i ve attribute ports to all my LXC and VM and it works great.
I just want to access from the internet without port utilisation but vhosts.
 
Last edited:
hi,

I ve several LXC and VM runing. I want to catch them from the internet.
The ports on my Box are open( 80 and 443 ) and redirect to my Proxmox Machine.
if you have multiple webservers running on your lxc/vm then you could also set up port forwarding with masquerade [0] to make those container/vm reachable from outside.
then you'd point your dns records to your PVE IP address, apache [1] or nginx reverse proxy (see previous post from @Dominic ) can then handle the vhosts and point them to the correct CT.

[0]: https://pve.proxmox.com/wiki/Networ...ith_tt_span_class_monospaced_iptables_span_tt
[1]: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
 
Thank you,
Tonight i will have a look to your post and consider your reply...
I was very convenient to have "Staff Member" for discussions...
I think I should buy licence if it is not too expensive...just for the service !!!
Thanks a lot
Tristan