If your domain is using CloudZex Default Nameservers (dns1.cloudzex.com and dns2.cloudzex.com), all email DNS records are automatically managed by your control panel. You do not need to configure anything manually.
However, if your domain uses Cloudflare or any external DNS provider (such as Namecheap, GoDaddy, or Route 53), you must add specific DNS records so that you can send, receive emails, and access Webmail without errors.
1. Required DNS Records for Email
Log in to your DNS provider (e.g., Cloudflare Dashboard > DNS > Records) and add the following records for your domain:
| Type | Name / Host | Content / Value | Proxy Status (Cloudflare) | TTL |
|---|---|---|---|---|
| A | 51.79.254.135 (or your server IP) | DNS Only (Grey Cloud) * | Auto | |
| MX | @ (or root domain) | mail.yourdomain.com | Priority: 10 | Auto |
| TXT | @ (SPF Record) | v=spf1 mx ip4:51.79.254.135 ~all | N/A | Auto |
| TXT | _dmarc | v=DMARC1; p=none; | N/A | Auto |
For the mail A record, you MUST turn OFF Cloudflare Proxy (set to DNS Only / Grey Cloud). If it is proxied (Orange Cloud), mail protocols (SMTP, IMAP, POP3) and Webmail SSL will be blocked because Cloudflare's free proxy does not proxy non-HTTP mail ports.
2. Setting up DKIM (DomainKeys Identified Mail)
DKIM adds a cryptographic signature to your emails, ensuring that emails sent from your domain are not marked as spam by Gmail, Yahoo, or Outlook.
- Log in to your Enhance Control Panel at https://panel.cloudzex.com/.
- Navigate to Websites > Select your domain > Emails.
- Click on the DKIM or DNS Records tab to view your unique DKIM TXT record (name and key value).
- Copy the DKIM record and paste it into your Cloudflare or DNS provider as a TXT record.
3. How to Access Your Webmail
Once your DNS records propagate (typically takes 5 to 30 minutes):
- Open your web browser and go to:
https://mail.yourdomain.com(replace yourdomain.com with your actual domain name). - Enter your full email address as the username (e.g.,
[email protected]). - Enter your mailbox password and click Login.
You can also access Roundcube Webmail directly from the Enhance Control Panel by clicking the Webmail button next to your email address.