Ok, this isn't really what I asked, or at least not what I meant to. I will try to be more clear.
I have an old server that needs to be replaced. It is currently named in the format example.com, and it handles email and websites. I want to replace it with two separate servers, one for email and one for websites. My original intent was to name them in the format mail.example.com and
Example Web Page, where the www one would also answer to example.com.
In my first attempt at building an email server, I named it like mail.example.com, but when Zimbra was installed, all the email was being sent out as
x@mail.example.com instead of
x@example.com, which is not acceptable.
How do I go about setting this email server up so that email which is addressed to
x@example.com is received (and prefferably also
x@mail.example.com but not necessarily), and mail sent from this server is addressed (and reply-to set) only as
x@example.com? Keeping in mind that I will need to provide webmail (through webmail.example.com, or zimbra.example.com, or whatever), and I will need to be able to create other email domains such as freddykruger.com (with webmail.freddykruger.com) and jasonvoorhees.com (with webmail.jasonvoorhees.com) on the same server.
(obviously the domain names aren't ones I will be really using)
Can I have both the email and web servers named example.com internally? I'm not sure I want to even do this, as I have several servers that are all part of the same domain (i.e.: xanadu.paradise.com, elysium.paradise.com, ecstacy.paradise.com, bliss.paradise.com).
Am I better off just using the prefix names, like xanadu, elysium, ecstacy and bliss, but telling Zimbra that it is "paradise.com"?
This whole DNS thing is a really messy issue for me, I am not at all fond of it.