Hey y'all, I have a pre purchase question.
Is it possible to have a mail, contact, calendar, web servers, and VPN going all at once in one machine? I know that I will need to have a DNS going on there as well. But as i was thinking, I occurred to me that MX record is gonna want a IP address for the mail service and the A record will want another IP address for the web server etc but it will all be one IP address. Im not very well versed in TCP/IP so, will the computer automatically route mail traffic to the mail server and web traffic to the web server based on port number? If not how do i differentiate between them?
If things work out, I will be buying a Mac Mini or pro with server and it will be dedicated macine. i cant afford to get a machine per server and virtulizing for my small needswill be messy.
Thanks in advance
As Linc Davis states, yes.
If it's your goal, then you're going to learn about IP, DNS, backup and various other topics in the process.
www.example.com can serve mail (and web and...) just as well as mail.example.com, if that's where the MX record points, and if that's an A record.
Mac Pro is likely massively overpowered for these sorts of tasks; you probably can't afford a network connection that'll big enough to even keep that box mildly busy.
You'll also want static IP service from your ISP; a business-tier connection.
As an alternative to running your own, hosting services are cheap, and they deal with the hardware and the software for you. (Not that I intend to try to talk you out of this, just that you can pay for multiple years of service for just the cost of a Mac Mini Server box alone. That's also before you consider the cost of the network, and of your time and effort, too.)