How to configure your Hosting plan in SWPanel with email in Microsoft 365 (Office)
In this manual, you will see how to validate your domain ownership in Microsoft 365 and how to configure your hosting service to use Microsoft 365 (Office) email.
You will also see how to create an SPF record to protect yourself against spoofing and phishing, and thus prevent your messages from being marked as junk mail.
Validate your domain in Microsoft 365
Once you have signed up for Microsoft 365, the first step you must take is to validate your domain ownership.
To validate your domain ownership, you must create a TXT record in your DNS Zone using a unique security token that will be provided to you from the Microsoft 365 admin center.
| Alias | Record type | Content |
|---|---|---|
| Empty | TXT | You can find your unique security token in the Microsoft 365 admin center > Show all > Settings > Domains. Example: MS=ms######## |
You can create the TXT record to validate your domain ownership through SWPanel by following the steps in the following manual:
Next, you must return to the Microsoft 365 admin center > Show all > Settings > Domains and select Verify.
info Normally, changes to DNS records are usually completed in about 15 minutes, although in some cases it may take longer.
Once Microsoft verifies that the TXT record is correct, your domain ownership will be confirmed.
Configure the MX records for Microsoft 365 email
Next, you must access the Microsoft 365 admin center where you can obtain the MX record to be created in your DNS Zone to use Microsoft 365 (Office) email.
danger If your users use email accounts with your domain name (for example, [email protected]), you will have to create their email accounts manually in the Microsoft 365 admin center before configuring the MX records so they can continue receiving email.
| Alias | Record type | Priority | Destination |
|---|---|---|---|
| Empty or @ | MX | 1 | You can find this value in the Microsoft 365 admin center. Example: ########.mail.protection.outlook.com |
You can create the MX record to use Microsoft email servers through SWPanel by following the steps in the following manual:
info If you need help with the DNS configuration, do not hesitate to contact us through Immediate Help [? Manual: Talk to support with Quick Help] and we will be happy to help you.
danger Once the Microsoft MX record has been created, you must delete any other MX records from the DNS Zone.
info It may take between 48 and 72 hours before you start receiving your emails at your new Microsoft 365 email address. In the meantime, you can receive your emails in the email client you have used until now.
Avoid spoofing and spam by adding the Microsoft SPF to your DNS Zone
Protect yourself against spoofing and phishing, and prevent your messages from being marked as junk mail. SPF is an email authentication method that protects against spoofing and prevents servers from marking your messages as spam.
It helps identify authorized servers to send messages on behalf of your domain, preventing your emails from being misinterpreted as unwanted. Implementing SPF is crucial for protecting your domain's reputation and ensuring the secure delivery of your emails.
danger Before creating the Microsoft SPF record, you must first delete the current SPF record from the DNS Zone.
| Alias | Record type | Destination |
|---|---|---|
| Empty | SPF (TXT) | v=spf1 include:spf.protection.outlook.com -all |
info If you add the SPF record of a subdomain, in the Alias field, you must indicate the subdomain, and not @.
You can create the SPF record through SWPanel by following the steps in the following manual:
Consult other manuals of interest: