I have a single physical server. I need to set it up so i can have 3 different domains on it. Each one of these domains needs to be able to support wildcard sub-domains. (.example.com,.example2.com,*.example3.com) I can purchase two more ips if this will make things easier.
The current setup is as follows
www.example.com => default vhost
devel.example.com => development server this is the only server that currently accepts *.example.com
staging.example.com => only works via staging.example.com
essentially i need all of these different to accept a wild card subdomain which i why i believe i need separate domain names for each.
What is the best way to get this all setup?
Thanks in advance.