Contents
One domain can serve two places at once without conflict: A or CNAME records send visitors of store.com to the store platform, while MX records send mail for [email protected] to your email provider. The classic mistake is switching nameservers for the sake of email, which takes the store offline because its records weren’t moved. The method below adds email without touching the store’s records.
Before you start
- Your domain is connected to the store and working. If not, start with connecting a domain to Salla or to Zid.
- Know where DNS is managed now. Check the nameservers with the DNS lookup tool: usually your registrar or Cloudflare. If you bought the domain through the platform itself, DNS may be managed in its dashboard: check its help center.
- A business email service to add the domain to.
- A list of mailboxes: for example
orders@for orders,support@for customer service,info@for general contact, and one for the owner.
Choose an approach
| Approach | When it fits | What you do |
|---|---|---|
| Add mail records only (simplest) | DNS is at the registrar or Cloudflare and the store works | Add MX, an A record for mail, and TXT records for authentication |
| Move nameservers to the email provider | You want all records in one place | Copy the store’s records first, then switch nameservers |
Steps (adding mail records only)
1. Add the domain to the email service and create mailboxes
In cPanel open Email → Email Accounts → + Create and create each mailbox with a strong password. Each mailbox gets its own password and storage quota.
2. Collect the values from cPanel
- Server IP address: shown as Shared IP Address in the General Information panel on the cPanel home page.
- SPF and DKIM: under Email → Email Deliverability, click Manage next to the domain to see the suggested records ready to copy.
3. Add the records to your current DNS
| Type | Name | Value |
|---|---|---|
| A | mail |
The server IP address |
| MX | @ |
mail.store.com, priority 0 |
| TXT (SPF) | @ |
The suggested record, e.g. v=spf1 +mx +ip4:203.0.113.10 ~all |
| TXT (DKIM) | default._domainkey |
The value from Email Deliverability |
| TXT (DMARC) | _dmarc |
v=DMARC1; p=none; rua=mailto:[email protected] |
Three things to watch:
- Don’t change the
@andwwwrecords the store platform asked for. - Delete any old MX records, such as the mail-forwarding records some registrars add by default.
- Only one SPF record: if a record starting with
v=spf1already exists, merge the values into it instead of adding a second one. The SPF generator helps you merge.
On Cloudflare, set the mail record to DNS only (grey cloud), because mail protocols don’t pass through Cloudflare’s proxy.
4. Set mail routing to local
Because DNS is hosted elsewhere, set this explicitly: under Email → Email Routing pick the domain, choose Local Mail Exchanger and click Change. That makes sure the server delivers mail to your mailboxes instead of trying to pass it on.
5. Wait for the certificate and test
Once mail.store.com resolves to the server, an SSL certificate is issued for it; you can speed this up under Security → SSL/TLS Status → Run AutoSSL. Then check the MX record with the MX lookup tool, send a message from Gmail to [email protected] and reply to it.
6. Use the mailboxes in the store and on your phone
- Put your customer-service address in the store settings where customers see it, on your contact page and on invoices.
- If the platform lets you send order notifications from your domain, follow its instructions and add the records it gives you to the same DNS.
- Add the mailboxes to your phone with the iPhone and Android guide so customer mail reaches you wherever you are.
Alternative: moving the nameservers
If you’d rather point the domain to ns1.arabicode.com and ns2.arabicode.com, first write down every existing record: the store’s records (@ and www), verification records such as Google Search Console, and anything else. Recreate them exactly in cPanel → Domains → Zone Editor, then change the nameservers at your registrar. The mail records are created automatically and the store keeps working.
Troubleshooting
- The store went down after the change: the platform’s A or CNAME record was deleted or changed, or nameservers were moved without copying its records. Restore the values shown in the domain settings of your store dashboard.
- Mail doesn’t reach the mailboxes: the MX record is missing, an old MX is still there, or Email Routing is set to Remote Mail Exchanger. Check MX and step 4.
SPF PermErroror mail landing in spam: there are two SPF records. Merge them into one.- Certificate warning when adding the mailbox to a phone: the certificate for
mail.store.comhasn’t been issued yet, or themailrecord is proxied through Cloudflare.
On ArabyHost
You can keep your store on Salla or Zid and use an ArabyHost business email plan for the mailboxes on your domain. Point the domain to ns1.arabicode.com and ns2.arabicode.com and SPF and DKIM are created automatically; if DNS stays at your registrar, copy the ready-made values from Email Deliverability. Read mail in webmail or over IMAP/SMTP on your phone, with free SSL and daily backups, and our Arabic-speaking support can help you add the records. Sending is capped per hour per domain, which is plenty for customer correspondence. If you ever consider running your own WooCommerce store, see WooCommerce vs Salla.
FAQ
Will my store go offline if I add email records?
No, as long as you only add new records (MX, an A record for mail, TXT) and leave the records the platform asked for on the root domain and www untouched. The store relies on A or CNAME records, email on MX; they don't conflict.
Should I change the nameservers to my email provider?
You don't have to. Adding the mail records to your current DNS is simpler. If you do move nameservers, first copy every store record to the new DNS exactly, or the store will be down until you restore them.
Will order emails to customers come from my business address?
Order and notification emails are sent by the platform itself, and whether they can use your domain depends on its settings. If the platform gives you DNS records for sending as your domain, add them and merge any SPF it asks for into your single SPF record.