Use the Same Domain for Google Sites and Microsoft 365 Email
Question details
The user wants to know if a single custom domain can be used simultaneously to host a Google Sites website and to send/receive email through Microsoft 365.

- Product
- Microsoft 365 / Google Sites
- Device & OS
- not provided
- Scenario
- Setting up custom domain services for both a website and an email platform independently without them interfering with each other.
- Observed behavior
- The user needs to direct email traffic to Microsoft 365 without breaking the existing Google Sites web hosting connection.
Ensure you have administrator access to your domain registrar's DNS management portal (such as GoDaddy, Namecheap, or Cloudflare) and your Microsoft 365 admin center before modifying any records.
Configure DNS Records for Microsoft 365 and Google Sites
By managing specific DNS records (MX for email and CNAME/A for the web), you can successfully route services to different providers on the exact same domain.
Domain Name System (DNS) records act as a directory for your domain. Because web traffic and email traffic use different protocols and DNS record types, they can operate entirely independently on the same domain.
Log in to your domain registrar's control panel and navigate to the DNS Management or DNS Records section for your specific custom domain.
Ensure that your existing CNAME record (usually pointing 'www' to 'ghs.googlehosted.com') or A records for your Google Sites remain exactly as they are. This keeps your website online.
Add or modify the MX (Mail Exchanger) record to match the value provided by Microsoft 365 (e.g., yourdomain-com.mail.protection.outlook.com). This tells the internet to route incoming emails to your Exchange Online mailboxes.
Add the required TXT records (for SPF verification) and CNAME records (for Autodiscover) provided in the Microsoft 365 admin center to ensure optimal email deliverability and client setup.
Save your changes. DNS updates can take anywhere from a few minutes up to 48 hours to fully propagate globally. Verify both email delivery and website access after a few hours.

Manage Your Business Documents Seamlessly with WPS Office
While you are setting up your custom domain for Microsoft 365 email and Google Sites, consider WPS Office for your local document needs. It offers a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring you can create, edit, and collaborate on files without expensive subscriptions.

Frequently Asked Questions
Will changing my MX records affect my Google Sites website?
No, updating your MX (Mail Exchanger) records only directs where your incoming emails are routed. As long as you do not alter your CNAME or A records, your Google Sites website will remain active and unaffected.
How do I verify my domain in Microsoft 365 without breaking Google Sites?
Microsoft 365 requires you to add a TXT record to verify domain ownership. Adding a TXT record does not interfere with the CNAME or A records used by Google Sites, so your website will stay online seamlessly during the verification process.
How long does it take for the new email routing to work?
DNS changes, including MX record updates, can take anywhere from a few minutes to 48 hours to propagate across the internet. It is recommended to test email delivery a few hours after making the changes to ensure everything is functioning.




