Moving your website without losing your domain or email
A new website does not mean losing your address, your email or your place on Google. Once you know what lives where, the switch works without any downtime.
Three separate things
- The domain, such as yourcompany.ch, is registered with a registrar. The SWITCH foundation keeps the register of all .ch domains; they are registered through registrars such as your hosting company.
- The website sits on a server at a hosting company.
- Your email sits with an email provider. Often that is the same hosting company, sometimes Microsoft 365 or Google Workspace.
The three are connected by DNS, a kind of phone book for the domain. It says where visitors to the website go (A and AAAA records) and where email is delivered (MX records). For a new website, only the website records change. The email records stay as they are.
Do you own the domain?
This is the most important question. The domain holder should be your company, not your former agency. For .ch domains, the public lookup usually does not show the holder. So check who receives the invoice for the domain, and ask the registrar. If the agency is listed as the holder, have the domain transferred to your company.
Move the domain, or just point it?
For a new website you don’t have to move the domain. It is enough to point the website records in DNS to the new server. If you want everything in one place, you can transfer the domain to another registrar:
- Ask your current registrar for the transfer code (auth code). As the holder, you get it.
- Before that, write down every DNS record and enter them exactly the same at the new provider, above all the MX records.
- Start the transfer at the new registrar and enter the code.
Keeping your email running
- Your email can stay with your current provider. As long as the MX records stay the same, nobody notices the switch.
- Watch out for bundles: if website and email are in the same hosting plan, cancel it only once the email has been moved.
- Carry over the TXT records for SPF and DKIM too. Without them, your email lands in spam more easily.
- Back up every mailbox before the switch.
What to ask your old agency for
- access to the registrar, or the domain’s transfer code,
- a list of all DNS records,
- access to the hosting and a copy of the website with all pictures and documents,
- for WordPress or another CMS, an export of the database,
- the list of mailboxes and where they are,
- access to Google Search Console and your Google Business Profile, if the agency set them up,
- terms and notice periods of every contract.
Ask in writing and give a date. Cancel only once you have everything.
Redirect the old addresses
Google knows the addresses of your old pages, such as yourcompany.ch/services.html. If they no longer exist after the switch, visitors land on an error page, and over time the page loses its place in the search results. So:
- Collect all old addresses, from the sitemap, Search Console or a crawl of the old website.
- Match every old address to the right new page.
- Set up a permanent redirect (301) for each one.
- After the switch, submit the new sitemap in Search Console and keep an eye on errors.
With clean 301 redirects, Google usually passes the standing of the old pages on to the new ones. Don’t forget to update the link in your Google Business Profile if the address changes.
Switching without downtime
- Finish the new website and check it on a test address.
- A day before, lower the TTL of the DNS records so the change takes effect quickly.
- Point the website records to the new server. Leave the MX records alone.
- Check the certificate: the website must work over https straight away.
- Test email: send one, receive one.
- Test the redirects.
- Cancel the old hosting only after a few weeks, once everything runs.
Because the old website keeps running until the change has reached everyone, visitors always see a working page.
What Berlab takes care of
At Berlab, moving your current website costs CHF 390 on top of the price of the new website. It covers the backup of the old website, the redirects and the switch. Your email stays where it is. What a new website costs is in the guide What does a website cost in Switzerland? and on the web design page.
Questions
- Will I lose my email if I change my website?
- No. Email depends on the domain’s MX records. As long as they stay the same, email keeps working as before.
- Do I have to move my domain to another provider?
- No. For a new website it is enough to change the DNS records for the website. The domain can stay where it is.
- Will I lose my place on Google?
- Usually not, as long as every old address points to the right new page with a 301 redirect.
More guides
- What does a website cost in Switzerland?Market prices, running costs and what to check in a quote.
- A website for a new business: what you really needWhat belongs in from the start, what the law requires and what can wait.
- Wix or your own website?Website builder or a built website: costs, effort and when each fits.
See your website first.
A free draft, no down payment. You pay 30 days after delivery.