Skip to main content

Home / Blog / Email

Does moving to Microsoft 365 mean leaving your web host?

16 November 2026

One domain splitting into two glowing paths: the website staying on a UK server, the email and Teams meetings moving to the cloud

A situation that comes up often: a business decides it needs Microsoft 365, usually for Teams, because its customers and suppliers already hold every meeting there. The next assumption is that the website has to move too. It does not.

Moving to Microsoft 365 does not mean leaving your web host. A domain does two separate jobs, website and email, and each can point at a different place. Your website, files and databases stay on your hosting. A handful of DNS records send mail for your domain to Microsoft. Your email address stays exactly the same, and Teams works from day one.

Do you need Microsoft 365 at all?

Email at your own domain is included with Gravity Host hosting, with as many addresses as you want. If all you need is hello@yourbusiness.co.uk arriving somewhere you can read it on your phone and laptop, that already works, and there is no reason to pay a third party for it.

Microsoft 365 earns its cost when you want what included hosting email does not set out to do:

  • Teams for calls, meetings and internal chat, because your clients, suppliers or whole industry already use it.
  • Outlook with shared calendars and shared mailboxes, which a new member of staff may expect on their first morning.
  • Word, Excel and the rest on the web and on phones, with files sitting alongside the chat and the mail.

Gravity Host does not sell Microsoft 365, is not a reseller and earns nothing when you buy it. You buy it from Microsoft and pay them directly. That is the reason this post can tell you when to skip it.

How can the website and the email live in different places?

The domain name is a label. DNS records attached to it tell the world where each service lives. The A record says where the website is. The MX records say where to deliver email. Change the MX records and mail goes somewhere new, while visitors typing your address into a browser reach the same site they always have.

Part of your domainWhere it lives after the switchWhat changes for you
Website, files and databasesYour web hostingNothing
DNS recordsYour hosting control panel (cPanel)A few records are added or edited
Incoming emailMicrosoft 365You read mail in Outlook
Mail sent by the website (forms, receipts)Still leaves from the web serverSPF must allow it
Your email addressUnchangedNothing

This is not theory. Gravity Host's own email runs through Microsoft 365 while its website stays on its own hosting. Anyone can check: look up the MX record for gravityhost.co.uk with any online DNS lookup tool and it points at Microsoft's mail servers, and the SPF record lists both Microsoft and the web server's outgoing mail route.

Why should you keep your DNS where your website is?

During setup, Microsoft's wizard offers to manage your domain for you. Accepting it moves your nameservers, which means the records that control your website are now edited somewhere else. Later, adding a subdomain or renewing turns into a hunt for which account controls what.

Choose the option to add your own DNS records. Microsoft then shows you the exact values to enter, you add them in cPanel, and every record for your domain stays in one control panel. Switching back later is a matter of editing those same records.

Which two settings stop mail going missing?

Ordinary guides cover the MX record and stop. Two further steps decide whether everything keeps arriving, and both sit on the hosting side.

Switch email routing to remote in cPanel

In cPanel, under Email Routing, each domain is set to Local Mail Exchanger by default. While that setting stays local, the web server still believes it handles your mail. A contact form on your website sending to your own address gets delivered into the old mailbox on the server and never reaches Outlook. It does not bounce, so nobody notices until a customer asks why they heard nothing. Switch the domain to Remote Mail Exchanger once the MX records point at Microsoft.

Let both senders pass SPF

Your everyday email now leaves from Microsoft. Your website's emails (contact form copies, order confirmations, password resets) still leave from the web server. The SPF record is a single TXT record listing every service allowed to send as your domain, and it must include both. If it lists only one, mail from the other starts landing in spam folders. There can only be one SPF record per domain, so merge the two into a single line.

Which Microsoft 365 plan do small businesses usually pick?

Business Basic is where most small businesses start: Outlook email on your own domain, Teams, Office on the web and on phones, and cloud storage for each person. It is billed per person, by Microsoft. Business Standard adds the Office apps you install on a computer.

One detail catches people out. In the UK, the plans are now sold in two versions, with Teams and without Teams. The version without Teams costs less, and if Teams is the whole reason for buying, picking it is an expensive mistake. Check the plan name includes Teams before you pay. Prices and plan names belong to Microsoft and change, so check their current pricing page before you buy.

What is the order of steps for the switch?

  1. Buy the right Microsoft 365 plan (with Teams, if that is why you are buying).
  2. Add your domain in Microsoft 365 and choose to add your own DNS records.
  3. Add the verification TXT record in cPanel's Zone Editor.
  4. Create the user accounts in Microsoft 365 for each address you use.
  5. Replace the MX record with Microsoft's, and add the autodiscover CNAME.
  6. Update the SPF record so it permits Microsoft and the web server.
  7. Switch Email Routing in cPanel to Remote Mail Exchanger.
  8. Send a test from the website's contact form and confirm it lands in Outlook.

The full walk-through, with when to use it and the exact records, is on the Microsoft 365 email with your own domain page. Gravity Host support can make the DNS changes for you, since the records live in your cPanel.

Frequently asked questions

Do I have to move my website to use Microsoft Teams?

No. Teams and Outlook only need your domain's email records pointed at Microsoft 365. Your website, its files and its databases stay on your existing hosting and keep working exactly as before. Visitors see no change at all. The domain does two separate jobs, website and email, and each one can point at a different provider without affecting the other.

Will my email address change if I move to Microsoft 365?

No. The address stays the same, for example hello@yourbusiness.co.uk. Only the place the mail is delivered to changes. Once the MX records point at Microsoft, new mail arrives in Outlook. If you want older messages from the hosting mailbox, they can be copied across using Microsoft's migration tools or by moving them in an email app that has both accounts open.

Should I let Microsoft manage my domain's DNS?

Keep your DNS where your website is controlled. Microsoft's setup wizard offers to take over your nameservers, which moves every record for your domain, including the website ones, to a different place. Choose the option to add your own DNS records, then enter Microsoft's values in your hosting control panel. Your website and email records then sit in the same cPanel account, and reversing the change later is simple.

Why do my contact form emails disappear after switching to Microsoft 365?

The usual cause is cPanel's Email Routing still set to Local Mail Exchanger. The web server then thinks it handles your domain's mail and delivers the form's message into the old local mailbox, without a bounce or an error. Set Email Routing to Remote Mail Exchanger for the domain and send a test from the form. It should arrive in Outlook within a minute or two.

What should my SPF record include with Microsoft 365 and web hosting?

It must include Microsoft 365 (Microsoft shows the exact include value during domain setup) and whatever your web server uses to send mail, because your website's form and order emails still leave from the hosting server. A domain can only have one SPF record, so combine both into a single TXT record. If either sender is missing, its mail is more likely to be marked as spam or rejected.

Is email included with web hosting enough for a small business?

For many businesses, yes. Gravity Host hosting includes email at your own domain with as many addresses as you need, readable on a phone, a laptop or in webmail. Microsoft 365 is worth adding when you need Teams meetings, shared calendars and mailboxes, or Office apps, typically because your clients or industry already work that way.

Host it on Gravity Host

Fast UK NVMe hosting, free SSL, daily backups and support from a small UK team. Domains are priced separately, and the renewal price is shown before you buy.

What your hosting includes: Email at your own domain, free SSL, daily backups, website migration and one-click apps all come with every plan. See the full list.

See hosting plans
← All articles