The Wild

How to Migrate Email Sending Domain

· 6 min read · Mammals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Migrating your email sending domain means moving the domain you use to send transactional or marketing emails (like mail.yourdomain.com or send.yourdomain.com) from one email service provider (ESP) or server to another. This is different from changing your main website domain — it's about the subdomain or domain that handles your outgoing mail. The goal is to switch providers without losing deliverability, breaking authentication, or having your emails land in spam. Before you start, you'll need access to your DNS settings (usually at your domain registrar or hosting provider) and the new email service's setup instructions.

What You'll Need

  • Access to your domain's DNS management (e.g., Cloudflare, GoDaddy, Namecheap, or your hosting panel).
  • The new email service provider (ESP) account, with your sending domain added to it.
  • Your old ESP's account access (to check current settings and possibly stop sending).
  • Records of your current email authentication settings: SPF, DKIM, DMARC, and possibly a custom Return-Path or bounce domain.
  • A spreadsheet or note file to track changes and verify progress.

Step-by-Step

  1. Add your sending domain to the new ESP. Log into your new provider and find the “Domains” or “Sending Domains” section. Enter the domain you want to use (e.g., mail.yourdomain.com). The ESP will give you a list of DNS records to add — typically a TXT record for SPF, a TXT record for DKIM, and sometimes a CNAME or MX record for bounce handling.
  2. Create a separate sending subdomain (recommended). If you're not already using a dedicated subdomain like mail.yourdomain.com, create one now. This isolates your email reputation from your main domain and makes it easier to migrate later. Add this subdomain in your new ESP.
  3. Add the DNS records from the new ESP. Go to your DNS provider and add the exact records provided. For SPF, you'll likely add a TXT record like v=spf1 include:newesp.com ~all on your subdomain (or main domain if using that). For DKIM, add a TXT record with a name like default._domainkey and a long string of characters. For DMARC, add a TXT record like v=DMARC1; p=none; rua=mailto:you@yourdomain.com — start with p=none to monitor without affecting delivery.
  4. Verify DNS propagation. Use online tools like MXToolbox or Google Admin Toolbox to check that the new records are live. DNS changes can take a few minutes to 48 hours, but often propagate faster. Don't proceed until the new ESP shows the domain as “verified” or “ready”.
  5. Warm up the new sending domain (if you have a large list). If you send to more than a few thousand recipients, start with a small volume (e.g., 10% of your list) and gradually increase over 1–2 weeks. This builds a positive reputation with ISPs like Gmail and Outlook. If you're sending low volume (<1000/month), you can skip this step.
  6. Update your email sending code or platform. Change the “From” address and SMTP server in your application, marketing platform, or email client to use the new domain. For example, change from@olddomain.com to from@mail.yourdomain.com and update the SMTP host to the new provider's server.
  7. Test sending. Send test emails to yourself and to test addresses at Gmail, Yahoo, and Outlook. Check that they arrive in the inbox (not spam) and that the headers show proper DKIM and SPF authentication.
  8. Monitor deliverability for a week. Watch your open rates, bounce rates, and spam complaints. Use your ESP's analytics and tools like Google Postmaster Tools (for Gmail) to see if your domain is being flagged.
  9. Gradually shift traffic. If you're moving a high-volume sending domain, consider using a subdomain for the new provider while keeping the old one active for a few weeks. Route a small percentage of emails to the new domain and increase over time.
  10. Remove old DNS records (after full switch). Once you're confident everything works, delete the old SPF and DKIM records from your DNS to avoid conflicting authentication. Keep DMARC in place.

Common Mistakes

  • Not using a dedicated subdomain. Sending from your main domain (like yourdomain.com) risks damaging your website's email reputation and makes future migrations harder.
  • Overlapping SPF records. If you have multiple SPF records or exceed the 10-lookup limit, SPF fails. Always use a single SPF record that includes all authorized senders.
  • Skipping the warm-up. Sending a large volume from a new domain immediately can trigger spam filters. Even small senders should test with a few emails first.
  • Forgetting to update the Return-Path. Some ESPs use a separate bounce domain. Update that too, or bounces may not be tracked properly.
  • Deleting old records too early. If you remove old DNS before the new domain is fully verified, you'll have no email sending capability.

Tips

  • Start with a subdomain like news.yourdomain.com or mail.yourdomain.com — it's the industry best practice.
  • Keep your DMARC policy at p=none for at least a few weeks after migration to monitor reports without risking email rejection.
  • Use a spreadsheet to track every DNS record: name, type, value, and status (added/verified).
  • If you're using a major ESP like SendGrid, Mailchimp, or Amazon SES, follow their specific migration guides — they often have step-by-step wizards.
  • Test with a small list first, then ramp up gradually.

Troubleshooting

  • Emails going to spam: Check your SPF, DKIM, and DMARC with an online tool. If any fail, correct the DNS records. Also ensure your sending IP isn't blacklisted (use a blacklist checker).
  • DNS not propagating: Wait 24–48 hours. Use dig or an online DNS checker to see if the record is visible globally. Sometimes your ISP caches DNS, so try a different network or use a tool like whatsmydns.net.
  • New ESP says domain not verified: Double-check that you copied the exact record name and value. Some providers require a CNAME for DKIM, not a TXT. Also ensure you're adding the record to the correct domain (e.g., default._domainkey on the subdomain, not the root).
  • SPF failure: If you have multiple SPF records, merge them into one. Use include: statements for each provider. If you exceed 10 DNS lookups, simplify by removing unnecessary includes.
  • Emails bouncing: Check the bounce address and make sure the Return-Path domain is set up correctly. Also verify that your domain isn't on a blocklist from previous issues.
  • Can't send any email: Verify that your MX records (for receiving) are still intact — don't delete them. Also check that your SMTP credentials are correct in your app.

Frequently Asked Questions

How long does the migration take?

DNS propagation typically takes 24–48 hours, but the full warm-up can take 1–2 weeks if you have a large list. Small senders can often switch within a day.

Can I use the same domain for both old and new ESP?

Yes, but it's risky because you'd have to update DNS and switch all at once. Using a subdomain for the new provider allows a gradual transition.

Will I lose my email history?

No, email history is tied to your mailbox, not the sending domain. Migration only affects outgoing mail.

Do I need to change my From address?

Yes, you should change the From address to use the new domain, otherwise the email won't authenticate properly.

What is a warm-up and why is it important?

Warm-up is gradually increasing sending volume from a new domain to build a positive reputation with ISPs. It's important because new domains have no reputation, and sending too much too fast can cause spam filtering.

Can I skip DMARC?

You can, but it's not recommended. DMARC helps protect your domain from spoofing and gives you visibility into authentication failures. Start with p=none.