Freeframe

How to Set Up Business Email on Your Own Domain

Get an address like hello@yourbusiness on Google Workspace, Microsoft 365 or Zoho Mail, add the MX, SPF, DKIM and DMARC records, and test it.

By
· 7 min read

To get email at your own domain, you sign up with an email provider (Google Workspace, Microsoft 365 or Zoho Mail are the usual choices), prove you own the domain, then add four kinds of DNS records where your domain's DNS is managed: MX (where mail is delivered), SPF and DKIM (proof that mail really comes from you) and DMARC (what receivers should do with mail that fails those checks). It takes about an hour of work plus up to two or three days for the records to settle, and costs about $1 to $8.40 per mailbox per month at the time of writing. Your website and your email are separate services, so you can do this whatever your site is built with or hosted on.

Pick an email provider#

All three below give you real mailboxes with spam filtering, calendars and mobile apps. Prices are per user per month in US dollars at the time of writing:

Provider Cheapest plan Paid monthly Paid yearly Storage per user
Google Workspace Business Starter $8.40 $7.00 ($84 a year) 30 GB, pooled
Microsoft 365 Business Basic $8.40 $7.00 1 TB cloud
Zoho Mail Mail Lite — $1.00 5 GB
Zoho Mail (free) Forever Free, up to 5 users $0 $0 5 GB

Sources: Google's Flexible and Annual plan comparison and pricing page, Microsoft's Business Basic page and Zoho Mail pricing.

How to choose:

  • Google Workspace if you already live in Gmail and Google Docs. The Flexible plan lets you add or remove users any month and cancel without penalty; the Annual plan is cheaper but you can only reduce licenses at renewal. Google offers a 14-day trial.
  • Microsoft 365 if your team uses Outlook, Word and Excel. Business Basic includes web and mobile versions of Word, Excel and PowerPoint and 1 TB of cloud storage per user; Business Standard costs $14.00 per user per month paid yearly. Microsoft offers a 30-day trial.
  • Zoho Mail if cost matters most. The Forever Free plan covers up to five users, but it doesn't include IMAP, POP or ActiveSync, so you use Zoho's own web and mobile apps rather than Apple Mail or Outlook. From the sixth user, everyone moves to a paid plan.

One mailbox per person is enough for most small businesses. Shared addresses like info@ or orders@ can usually be free aliases or groups that deliver to someone's existing mailbox instead of a paid user.

Only need to receive? A forwarding service such as Cloudflare Email Routing forwards hello@yourbusiness to a personal inbox for free. It only handles incoming mail, though: replies go out from your personal address, which looks less professional and is why most businesses end up with a real mailbox.

Before you start#

  1. Find where your DNS is managed. It's usually your domain registrar (GoDaddy, Namecheap, Squarespace Domains) unless you moved your nameservers to Cloudflare, Netlify or Vercel. Our guide to connecting a custom domain explains how to tell.
  2. Write down any existing MX records. If you already get email at this domain (through your registrar or old host, say), you'll be replacing them. Create the new mailboxes first so no mail is lost in between.
  3. Leave your website's records alone. The A, AAAA and CNAME records that point to your site keep working; email uses different record types.

Step 1: Sign up and verify the domain#

Sign up with the provider and enter the domain you own. Each one then asks you to prove ownership, usually by adding a TXT record it gives you at the root of the domain (the host is @ or left blank). Some registrars support Domain Connect, which lets Microsoft 365 add the records for you after you approve them in a pop-up (Microsoft's guide).

Then create the users (mailboxes) you need. Do it before Step 2: once MX records point to the new provider, mail for an address that doesn't exist there will bounce.

Step 2: Point your MX records at the provider#

MX records tell other mail servers where to deliver mail for your domain. Delete the old MX records, then add the new ones with the host @:

  • Google Workspace: one record, smtp.google.com, priority 1. Google says changes can take up to 72 hours to be recognized, and older setups using aspmx values that already work don't need changing (Google's MX guide).
  • Microsoft 365: one record whose value you copy from Settings > Domains > (your domain) > DNS records in the Microsoft 365 admin center, priority 0, TTL 3600. Add the autodiscover CNAME it shows too, so Outlook can set itself up.
  • Zoho Mail (US): three records, mx.zoho.com priority 10, mx2.zoho.com priority 20 and mx3.zoho.com priority 50 (Zoho's guide).

In MX records, a lower number means a higher priority. Leaving an old provider's MX record in place is the most common reason mail keeps arriving in the wrong place.

Step 3: Add an SPF record#

SPF is a TXT record at @ that lists the services allowed to send mail for your domain:

  • Google Workspace: v=spf1 include:_spf.google.com ~all (Google's SPF guide)
  • Microsoft 365: v=spf1 include:spf.protection.outlook.com -all
  • Zoho Mail: copy the value shown in Zoho's admin console for your data center.

A domain can have only one SPF record. If something else already sends mail as your domain (a newsletter tool, a store, a booking app), add its include: to the same record instead of creating a second one, and keep the total to 10 includes or fewer. Google allows up to 48 hours for SPF to start working.

Step 4: Turn on DKIM#

DKIM signs each message with a key published in your DNS, so receivers can tell it wasn't forged or changed.

  • Google Workspace: in the Admin console go to Menu > Apps > Google Workspace > Gmail > Authenticate email, pick your domain and generate a key (2048-bit if your DNS host accepts it). Add it as a TXT record named google._domainkey, then come back and click Start authentication, but only after the record is added. Google suggests waiting 24 to 72 hours after turning on Gmail before generating the key, and up to 48 hours for DKIM to start working (Google's DKIM guide).
  • Microsoft 365: in the same DNS records screen, open Advanced options, select DomainKeys Identified Mail (DKIM) and add the two CNAME records it lists, selector1._domainkey and selector2._domainkey.
  • Zoho Mail: generate a DKIM key in Zoho's admin console under the domain's email settings and add the TXT record it shows.

Step 5: Add a DMARC record#

DMARC tells receivers what to do when a message fails SPF and DKIM, and where to send reports. Wait about 48 hours after SPF and DKIM are in place, then add a TXT record named _dmarc. Start in monitoring mode:

v=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.example

Replace the address with a mailbox or alias you'll check. p=none only collects reports; Google's advice is to move to quarantine or reject over time, once the reports show your real mail passing (Google's DMARC guide).

This isn't optional polish. Gmail's sender guidelines have required every sender to use SPF or DKIM since February 1, 2024, and senders of more than 5,000 messages a day to Gmail also need both plus DMARC. Without them, a new domain's mail is much more likely to land in spam.

Step 6: Test it#

Once the records have had time to settle:

  1. Send a message from a personal account (Gmail, iCloud, Yahoo) to your new address and check it arrives.
  2. Reply from the new address and check it reaches the personal inbox, not its spam folder.
  3. Check the headers. In Gmail, open the message, choose Show original, and look for SPF: PASS, DKIM: PASS and DMARC: PASS.
  4. Use the provider's checker. The Microsoft 365 admin center checks your records when you select Continue on the DNS records screen; Google and Zoho show each domain's setup status in their admin consoles.

If mail doesn't arrive after 72 hours, the usual causes are an old MX record still in place, a second SPF record, or a DKIM record whose name or value doesn't match exactly what the console generated.

Put the new address on your website#

When email works, use it everywhere your business appears: the contact page, the footer, Google Business Profile and invoices. A few things to check on the site itself:

  • Contact forms. If your site sends form submissions with a service like Formspree, update the address it delivers to. Our forms docs and the guide to adding a contact form to a static website show where that setting lives. If the service sends mail as your domain, add its include: to your SPF record.
  • Template placeholders. Freeframe templates ship with fictional .example addresses, such as on the contact pages of Handy, Accrue and Counsel. Search the project for .example to find every one before you launch; the website launch checklist covers the rest.
  • mailto: links. Write them as <a href="mailto:hello@yourbusiness.example">, with your real address, so a tap on a phone opens a new message.

About the author

Founder of Freeframe

Paul Peery runs Freeframe, which publishes complete multi-page website templates in HTML, Next.js, Astro, Nuxt and WordPress, and writes about getting small websites built, launched and kept up to date.

Get new templates by email

An email when new templates come out. Confirm by email, unsubscribe any time. How we use your address

Templates for this

Handy website template preview

Handy

Business

A high-trust home services site with an instant quote calculator and service-area checker.

HTML + TailwindNext.js (paid)Astro (paid)Nuxt (paid)WordPress (paid)

HTML free · Next.js, Astro, Nuxt & WordPress $19

10 pages · 147 KB

Documentation
Accrue website template preview

Accrue

Business

An editorial, warm website for an accounting and tax firm, with a live tax deadline calendar, a fee estimator and consultation booking.

HTML + TailwindNext.js (paid)Astro (paid)Nuxt (paid)WordPress (paid)

HTML free · Next.js, Astro, Nuxt & WordPress $19

10 pages · 181 KB

Documentation
Counsel website template preview

Counsel

Business

A refined, trustworthy website for a law firm or professional services practice.

HTML + TailwindNext.js (paid)Astro (paid)Nuxt (paid)WordPress (paid)

HTML free · Next.js, Astro, Nuxt & WordPress $19

10 pages · 338 KB

Documentation

Keep reading