Migrate Your Website Without Breaking Company Email in Australia
Changing hosts or nameservers can kill Microsoft 365 or Google Workspace overnight. Learn how to audit MX, SPF, and DKIM before cutover, fix the three most common DNS mistakes, and keep client inquiries flowing.
If you are moving a business site in Australia to new hosting and you also run Microsoft 365 or Google Workspace, one careless nameserver change can silence inbound email within minutes. This guide walks site owners and small-business operators through auditing and mirroring every MX route, SPF authorisation, and DKIM signature before cutover so the new website goes live with zero lost client inquiries. Fixwebnode provides remote website support for this exact problem—see website repair across Australia when you want a specialist to double-check DNS before you flip the switch.
Why website migrations break company email
Your website and your email often share the same domain but live on different systems. The website points at a web host via A or CNAME records. Mail points at Microsoft, Google, or another provider via MX records, plus SPF (TXT) and DKIM (TXT or CNAME) that prove your mail is legitimate. When you change nameservers at the registrar to the new host’s DNS, the new zone frequently ships with blank or host-default mail records. Propagation then replaces your working MX/SPF/DKIM set with nothing useful. Staff still send mail for a while, but replies and new client messages bounce or land in spam. In Australia this often surfaces on Monday morning after a weekend cutover—exactly when inquiries matter most.
The fix is not “hope the host copied DNS.” It is a deliberate pre-cutover audit: export every mail-related record from the live zone, rebuild them on the destination DNS (or keep mail DNS at the registrar / Microsoft / Google), verify with command-line lookups, then change nameservers only after the mirror is proven.
What happens if I change nameservers without copying MX and SPF records?
Inbound mail stops resolving to Microsoft 365 or Google Workspace, SPF fails for outbound mail, and DKIM signatures no longer match—so messages bounce or hit spam while the new site may look fine. Audit live MX, SPF, and DKIM first, recreate them on the new DNS (or leave mail at the old authoritative DNS), then cut over.
| Symptom | Quick check | When to call Fixwebnode |
|---|---|---|
| Clients say mail bounces after go-live | dig MX yourdomain.com.au +short returns host defaults or nothing | MX missing and you cannot access the old DNS export |
| Outbound mail marked spam / rejected | SPF TXT missing include:spf.protection.outlook.com or Google equivalents | Multiple SPF records or broken merges after host tools “help” |
| Signed mail fails authentication | DKIM selector CNAMEs/TXT absent on new nameservers | Selectors unknown and Admin centre access is limited |
Common issues when migrating a site without protecting email
These three failures show up repeatedly for Australian SMEs on Microsoft 365 and Google Workspace. Each has a different root cause.
- Blank or host-default MX after nameserver change — New zone has no MX, or points at the web host’s mail servers. Symptom: external senders get “domain not found” or delivery to the wrong place; Outlook/Gmail still send outbound for a time.
- SPF broken by a second TXT or a wiped include — Host control panels often add their own SPF and leave you with two SPF TXT records (invalid) or overwrite the Microsoft/Google include. Symptom: remote servers reject or junk your outbound mail; DMARC reports show spf=fail.
- DKIM selectors never copied — Microsoft and Google publish selector records (CNAME or TXT) that must exist on the public DNS you just replaced. Symptom: messages still leave, but authentication fails and spam filters tighten; BIMI or strict DMARC policies start quarantining mail.
Issue 1 — Audit and restore MX so Microsoft 365 or Google still receive mail
Do this on a machine with dig or nslookup before touching nameservers. Goal: prove current MX targets, then ensure the destination DNS publishes the same priorities and hosts.
Step 1 — Capture live MX from the internet
dig MX yourdomain.com.au +short
dig NS yourdomain.com.au +short
nslookup -type=MX yourdomain.com.au 8.8.8.8
Expected Microsoft 365 pattern looks like 0 yourdomain-com-au.mail.protection.outlook.com. Google Workspace typically shows 1 ASPMX.L.GOOGLE.COM. plus aspmx2–aspmx5 priorities. Save the exact strings and priorities in a text file.
Step 2 — Confirm which side is authoritative today
dig NS yourdomain.com.au +trace
whois yourdomain.com.au | grep -i "nserver\|Name Server"
If NS still points at the old host or registrar, that is where you export. If you already pointed NS at the new host, you are in recovery mode—use any residual export, Microsoft 365 admin centre recommended values, or Google Workspace MX documentation to rebuild.
Step 3 — Recreate identical MX on the DNS that will be live after cutover
In the new host DNS (or better: keep mail DNS at Cloudflare/registrar and only change web A/CNAME), add the same MX hostnames and priorities. Do not point MX at the web server IP “temporarily.” Remove any host-provided MX such as mail.yourdomain.com.au if you use 365/Google.
Step 4 — Verify from outside before and after NS change
dig MX yourdomain.com.au @8.8.8.8 +short
dig MX yourdomain.com.au @1.1.1.1 +short
# After NS change, query the new NS directly:
dig MX yourdomain.com.au @ns1.newhost.example +short
All paths must return the Microsoft or Google targets. Wait for TTL; do not announce the site live until MX matches.
When to call Fixwebnode: old DNS panel is gone, you have multiple domains/aliases, or hybrid on-prem relay records you cannot map safely. Remote DNS rebuild is faster than a day of bounced RFQs.
Issue 2 — Mirror SPF so outbound mail stays authorised
SPF is a single TXT record at the zone apex (or the exact subdomain that sends). Two SPF TXT records at the same name is a hard fail. Host “email authentication” wizards often create a second record.
Step 1 — Export the current SPF string
dig TXT yourdomain.com.au +short
dig TXT yourdomain.com.au @8.8.8.8 +short | grep -i spf
Copy the full v=spf1 ... ~all or -all string. Typical Microsoft 365 includes include:spf.protection.outlook.com. Google includes include:_spf.google.com. Third-party CRMs, newsletters, or transactional providers add further includes.
Step 2 — Inventory every sender that must stay authorised
- Microsoft 365 / Exchange Online or Google Workspace
- Website contact forms or SMTP plugins (if they send as your domain)
- Accounting, CRM, or marketing tools that spoof your From domain
If forms break after host moves, that is a separate path—see Fixwebnode’s Contact Form 7 & Elementor form API troubleshoot once mail DNS is stable.
Step 3 — Publish exactly one merged SPF on the new authoritative DNS
Create one TXT at @ / apex. Merge includes into a single v=spf1 line. Delete host-default SPF records. Stay under the 10-DNS-lookup limit; flatten only if you understand the risk of IP drift.
Step 4 — Validate
dig TXT yourdomain.com.au +short
# Optional online checkers aside, confirm count of SPF strings is 1:
dig TXT yourdomain.com.au +short | grep -c "v=spf1"
Send a test to an external account and inspect headers for spf=pass. If you use DMARC, check aggregate reports the next day.
When to call Fixwebnode: more than one SPF already published, lookup limit exceeded, or you are unsure which SaaS includes are still required. Wrong merges cause silent spam-folder placement that marketing teams notice too late.
Issue 3 — Copy every DKIM signature selector before cutover
DKIM does not live in a single obvious “email” record. Microsoft 365 uses selector CNAMEs (for example selector1._domainkey and selector2._domainkey pointing at *.onmicrosoft.com). Google uses TXT or CNAME under google._domainkey or custom selectors. Lose them and receivers cannot verify signatures even when MX and SPF look fine.
Step 1 — List selectors from the admin centre, then prove them in DNS
# Microsoft-style selectors (adjust names from Admin centre)
dig CNAME selector1._domainkey.yourdomain.com.au +short
dig CNAME selector2._domainkey.yourdomain.com.au +short
# Google / custom
dig TXT google._domainkey.yourdomain.com.au +short
dig TXT s1._domainkey.yourdomain.com.au +short
In Microsoft 365 Admin → Settings → Domains → DNS records, note every DKIM CNAME. In Google Admin → Apps → Google Workspace → Gmail → Authenticate email, open each domain’s DKIM values.
Step 2 — Recreate the same names and targets on destination DNS
Match record type (CNAME vs TXT), hostname, and value character-for-character. Do not “simplify” hostnames. If the new DNS UI appends the domain twice, fix the host field so the public name is exactly selector1._domainkey.yourdomain.com.au.
Step 3 — Enable or rotate DKIM only after public DNS answers correctly
dig CNAME selector1._domainkey.yourdomain.com.au @ns1.newhost.example +short
dig TXT google._domainkey.yourdomain.com.au @8.8.8.8 +short
Send a signed test message and read dkim=pass in the Authentication-Results header. If DMARC is p=quarantine or reject, fix DKIM before tightening policy further.
When to call Fixwebnode: selectors were never documented, a previous agency owns the 365 tenant DNS instructions, or you run split-horizon DNS. Remote recovery usually means rebuilding from admin-centre defaults and validating headers end-to-end.
Practical pre-cutover runbook (remote DIY)
Use this sequence the day before nameserver change.
- Export full zone or at least MX, TXT (SPF, DMARC), and all
_domainkeyrecords from current DNS. - Build the new zone with web A/AAAA/CNAME for the site and identical mail records—or keep NS for mail at a stable DNS host and change only web records if your DNS product allows partial delegation patterns you already understand.
- Lower TTLs on NS and critical records 24–48 hours ahead when you still control the old zone.
- Query the new nameservers directly with dig
@ns...until MX, SPF, and DKIM match production values. - Change nameservers at the registrar; monitor with repeated dig against 8.8.8.8 and 1.1.1.1.
- Send and receive test messages from outside networks; confirm SPF/DKIM pass in headers.
- Only then update public marketing that “the new site is live.”
# Compact verification bundle after cutover
dig NS yourdomain.com.au +short
dig MX yourdomain.com.au +short
dig TXT yourdomain.com.au +short | grep -i spf
dig CNAME selector1._domainkey.yourdomain.com.au +short
dig TXT _dmarc.yourdomain.com.au +short
When DIY is enough vs when to book Fixwebnode
DIY is enough when you still have login access to the old DNS, a single Microsoft 365 or Google domain, no exotic relays, and you can run dig and paste records carefully. Follow the numbered steps above, keep a text export, and verify against public resolvers before and after NS change.
Book Fixwebnode when the old zone is already gone, several brand domains share mail, SPF is a tangle of vendors, DMARC is enforcing, or the website move is tied to form/API delivery that must keep working the same afternoon. Fixwebnode works as a direct remote specialist for website support—not a freelance marketplace—so you deal with one technical team on the mail-safe cutover. Coverage and remote help across regions are outlined on the service areas page.
Keep the site move; keep the inbox
Website hosting and company email share a domain name, not a fate. Audit live MX routes, publish one correct SPF, and mirror every DKIM selector on the DNS that will answer after cutover. Verify with dig against both public resolvers and the new nameservers, then change NS only when mail records match. That sequence is how Australian small businesses launch a new host without losing client inquiries to bounces and spam folders.
If you want a specialist to review your export, rebuild the zone, and watch the cutover with you, start a conversation through the Fixwebnode website repair Australia landing page. Bring your domain list and whether you use Microsoft 365 or Google Workspace—we will focus on a mail-safe migration plan before any nameserver flip.