OK, so I went through the problems with DNS, MX, etc. Everything was fixed, and my DNS records look as follows:
And my /etc/hosts file:d0main.com. NS Default ns1.d0main.com.
d0main.com. A Default 00.0.000.000
ns2.d0main.com. A Default 00.0.000.001
ns1.d0main.com. A Default 00.0.000.000
zimbra.d0main.com. A Default 00.0.000.001
www.d0main.com. CNAME Default d0main.com.
d0main.com. MX 38400 10 zimbra.d0main.com.
During the installation, I had the following error:127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
00.0.000.001 zimbra.d0main.com zimbra
So I typed "d0main.com" instead of "zimbra.d0main.com" as was suggested here: [SOLVED] DNS Error Resolving MX.DNS ERROR resolving MX for zimbra.d0main.com
It is suggested that the domain name have an MX record configured in DNS
Re-Enter domain name? [Yes]
Create domain: [zimbra.d0main.com] d0main.com
Installation was successful, but the login page was on... d0main.com, not on zimbra.d0main.com. Why? I turned off Apache before installation. Perhaps I should remove it and let Zimbra install it? Also, there was on port conflict detected during the installation.
Edit: It was suggested to install Apache on different port: http://www.zimbra.com/forums/mobilit...tml#post205980. Would that solve the problem with this? But then again, Apache was turned off and there were no conflicts with ports.