How do I transfer all ports coming from a domain to a virtual machine?

I want to direct domains on my hand to a single CentOS machine with DHCP. Although I have not opened the necessary records, when I test the 80 port from the browser, I reach the panel of univention. How do I transfer all ports coming from a domain to a virtual machine?

Your VM needs a static IP address. You can configure this in the VM or use DHCP to allays offer the same IP address to your server. Then you can use this static IP address for your domains instead of the IP of the host. If you installed the host at a hosting provider site there are two ways to solve this. First get a second IP address and use it in your VM. Second you need to redirect the required ports by detestation NAT firewall rules on the host.

There is no problem with static IP configurations. I routed all the connections from outside with static rope on Univention. I just want to define the virtual machine domain within the Univention. How can I do that?

Mastodon