The goal is to host 4 or 5 websites for friends. all low traffic, so a single box should be fine. 16 cores, 32g ram, 1 nic, 1 public IP. hostname: prox
each site gets a VM, created manually, (they all get debian) add friends ssh keys and let them ssh in and do whatever they want in their vm. hostnames vm1, vm2... friends all manage their own domain name register / dns, point their www's at my IP, or do the thing that follows my prox hostname.
I would like to keep ports all standard: 22 for ssh, 80/443 for http/s, etc. and route to the VM based on hostname.
ssh user@prox gets the host, ssh user@vm1 gets vm1. curl http://vm1 gets vm1.
Is this reasonable, how do I do it, or how should I be doing it? I'm guessing it is all nftabels.conf, but would like some hand holding so I don't invent a square wheel and do this the hard way.
I like ansible, and eventually I'll use it, but first I want to know what i am doing.
each site gets a VM, created manually, (they all get debian) add friends ssh keys and let them ssh in and do whatever they want in their vm. hostnames vm1, vm2... friends all manage their own domain name register / dns, point their www's at my IP, or do the thing that follows my prox hostname.
I would like to keep ports all standard: 22 for ssh, 80/443 for http/s, etc. and route to the VM based on hostname.
ssh user@prox gets the host, ssh user@vm1 gets vm1. curl http://vm1 gets vm1.
Is this reasonable, how do I do it, or how should I be doing it? I'm guessing it is all nftabels.conf, but would like some hand holding so I don't invent a square wheel and do this the hard way.
I like ansible, and eventually I'll use it, but first I want to know what i am doing.