This is my proposed setup using OpenVZ containers (hosted on Proxmox):
CT 1: MySQL and nginx. Hosts all databases and multiple websites(domains). Used ports are 80, 443, 3306, 8080
CT 2, 3, 4: These host special servers that all listen on ports 7171 and 7172. They also connect to CT1 for their databases.
To connect to the websites, people use exampledomain1.com
exampledomain2.com
and so on
To connect to the servers in CTs 2, 3 and 4 people use login.exampledomain1.com:7171
and so on (once authenticated the client switches to port 7172)
MySQL listens on mysql.exampledomain9.com
So would it be best to get extra IPs for this configuration? How many would I need(maybe one per domain?)?