Email with your own domain: what happens when you switch websites?
What happens next?
- Free draft
- Fixed-price quote
- Review and approve
Contents (7)
In short: Your email depends on your domain, not on your website. The domain's MX records decide which server accepts mail for @yourbusiness.ch. If you only switch websites, your addresses keep working as long as your email plan continues and the MX, SPF, DKIM and DMARC records move with the DNS. If your mailboxes are part of the old website contract, follow this order: set up the new mailbox, back up, switch the records, test, and only then cancel. Sharpsoft does not host mailboxes, but it sets the DNS records for your existing email.
Where does my email actually live?
Your mailboxes sit on an email provider's server: your web host, a separate email service or a directory provider's package. Which server accepts mail for your domain is set by the MX records in your domain's DNS (RFC 5321). Your website uses separate records. To check, run nslookup -type=mx yourbusiness.ch in a terminal, or look at the incoming server in your mail app.
Can my website and email be with different providers?
Yes. Domain, website and email are three services that may sit with three different providers. The domain's DNS connects them: one record points to the web server, another to the mail server. Keeping everything with one host is convenient but not required, and separation makes switching easier.
| Record | Purpose | When you switch websites |
|---|---|---|
| A, AAAA or CNAME | points to the web server | changes |
| MX | names the server that accepts your mail | stays while the mailbox stays |
| SPF (TXT) | lists servers allowed to send as you (RFC 7208) | keep; add new senders such as a contact form |
| DKIM (TXT or CNAME) | key for the digital signature of your mail (RFC 6376) | copy exactly |
DMARC (TXT at _dmarc) | tells receivers what to do with mail that fails SPF and DKIM (RFC 9989) | keep |
- Record
- A, AAAA or CNAME
- Purpose
- points to the web server
- When you switch websites
- changes
- Record
- MX
- Purpose
- names the server that accepts your mail
- When you switch websites
- stays while the mailbox stays
- Record
- SPF (TXT)
- Purpose
- lists servers allowed to send as you (RFC 7208)
- When you switch websites
- keep; add new senders such as a contact form
- Record
- DKIM (TXT or CNAME)
- Purpose
- key for the digital signature of your mail (RFC 6376)
- When you switch websites
- copy exactly
- Record
- DMARC (TXT at
_dmarc) - Purpose
- tells receivers what to do with mail that fails SPF and DKIM (RFC 9989)
- When you switch websites
- keep
Since February 2024 Gmail has required SPF or DKIM from all senders, and DMARC as well above 5,000 messages a day; unauthenticated mail "might be marked as spam or rejected" (Gmail Help).
What must move with a domain transfer or DNS move?
Every record, not just the website's. A transfer changes the registrar; a DNS move changes where the records are managed. Either way, MX, SPF, DKIM and DMARC must be in place at the new location before the name servers are switched, or mail stops arriving.
- Transfer: with the auth code you change registrar and remain the domain holder (details).
- Copy the zone: ask for the full DNS zone file or write down every record.
- Lower the TTL: it sets how long other servers may cache a record (RFC 1035). Set it to a few minutes about a day before the switch.
- Check DNSSEC: if the domain is signed with DNSSEC, agree before the name server switch who updates the DS record at the registrar; a stale DS record can make website and email unreachable.
- Agree in writing who changes the records and whether the old provider keeps serving the zone.
In what order do I switch without downtime?
Back up and build in parallel first, switch next, cancel last. Old and new mailboxes then run side by side for a while, and no message is lost. The reverse order is risky: cancelling first and then finding out the email plan ends with the old contract.
- List where domain, DNS, website and email are, and check whether the contract ends your email.
- Save the DNS zone.
- Back up all mail folders, sent mail, contacts and calendars, for example via IMAP to a local archive.
- If the old mailbox ends, create the same addresses with the new email provider.
- Lower the TTL a day ahead.
- Switch: website records to the new server; email records copied unchanged or set as the new email provider instructs.
- Test: send mail out and back. The "Authentication-Results" header should show "pass" for SPF, DKIM and DMARC (RFC 8601); in Gmail, "Show original" displays it (Gmail Help). Test the contact form too.
- Watch the old mailbox for a few days, then import old mail and set up your devices.
- Only now cancel, observing the contract's notice period and form.
For the rest of a relaunch, see website redesign.
What happens to email included in a directory contract?
If your mailboxes are part of the website contract, you need a new home for them before the contract ends. For localsearch MyWEBSITE S, mailboxes are an option of the product, and email migration is not included according to the product description. Ask in writing until when the mailboxes run.
The MyWEBSITE S product description (German, valid from 1 October 2026) lists "Mailhosting 10" (10 mailboxes, 2 GB in total) and "Mailhosting 100" (100 mailboxes, 50 GB) as options, and names "migration of emails and setup in external email programs" (translated) among the services not included. At the end of the contract, tell localsearch which registrar the domain should go to; otherwise localsearch deletes the registration (terms of 1 February 2025, clause 6.2.3). Without the domain, your email addresses stop working too.
Frequently asked questions
Will I lose my email if I switch websites?
No, as long as your email plan continues and the email records move with the DNS. Back up all folders anyway.
What does an email address with my own domain cost?
The domain, about CHF 10–20 a year at a registrar, plus an email plan. An email-only plan at your current web host usually costs CHF 2–5 a month.
Do I really need SPF, DKIM and DMARC?
Yes, for every domain you send from. Gmail requires SPF or DKIM from all senders; DMARC also tells receivers how to handle forged mail in your name.
How Sharpsoft does it
Sharpsoft does not host email or mailboxes. Your addresses keep working as long as your current email plan continues. If your email is with your current web host, you keep an email-only plan there or move, for example, to Google Workspace, paying the provider directly. Before the switch, Sharpsoft shows you where your email lives today and sets MX, SPF, DKIM and DMARC, included in the setup. By default the records run through Cloudflare: Sharpsoft first takes over all existing DNS records, and you change the name servers at your registrar once; keeping your own DNS costs CHF 5 a month. Creating mailboxes, moving old mail and setting up devices are not included. The domain stays in your name. Details: service description, section 11 and How Sharpsoft works.