# How do I connect my domain to Mailboxes?

> Connect your domain to Phluit Mailboxes step by step: the ownership check, SPF and DKIM records, the MX switch, and one-click setup for Phluit domains.

Source: https://docs.phluit.com/products/mailboxes/add-your-domain-to-mailboxes/

Your mailboxes use your own domain, like `yourcompany.com`. You choose and connect it in the setup that starts after you pay for your mailboxes ([how to get mailboxes](/products/mailboxes/create-a-mailbox/)). **Your current email keeps working the whole time**, until you switch it in the last step.

## 1\. Choose the domain

The setup offers three choices:

-   **A domain I already have at Phluit:** registered with us, or managed in your Phluit DNS. The quickest: we connect it for you.
-   **A domain I have somewhere else:** at GoDaddy, Namecheap, Cloudflare, Google or any other company. Type it (like `yourcompany.com`, without `www`) and press **Continue**. We recognise where its DNS is managed and give you tips for that company.
-   **I need a new domain:** type the name you want and press **Check**. If it's free, you can buy it right there with your account credit. It's registered in your name with the details from your account and connects by itself. If you don't see this choice, [open a ticket](https://portal.phluit.com/tickets/create) and we'll help.

Use a main domain; addresses on a subdomain aren't supported. If we can't find the domain at all, check the spelling, or make sure it's registered.

**Let your DNS provider do it.** When the company that manages your domain's DNS supports it, the setup shows a **Connect with** button (for example "Connect with Cloudflare") at each of the steps below. You approve the change on your provider's own page and come straight back to the setup. If there's no such button, add the records yourself as described below.

## 2\. Prove it's yours

Domains at Phluit skip this. For a domain somewhere else, add **one TXT record** where your domain is managed:

| Type | Name / Host | Value |
| --- | --- | --- |
| TXT | `_phluit` | shown in the setup, starts with `phluit-verify=` |

If your provider wants the full name, use `_phluit.yourcompany.com`. Then press **I added it, check now**. We also check by ourselves every 30 seconds. New records usually show up within a few minutes, sometimes up to an hour. This check stops anyone else from claiming your domain.

## 3\. Add the email records

The setup shows the records one at a time and ticks each one off as soon as it sees it:

| Step in the setup | Type | Name / Host |  |
| --- | --- | --- | --- |
| Let Phluit send for you (SPF) | TXT | `@` | Needed |
| Sign your email (DKIM) | TXT | `dkim._domainkey` | Needed |
| Protect your domain (DMARC) | TXT | `_dmarc` | Recommended |
| Automatic setup in email apps | CNAME | `autoconfig` | Optional |
| Automatic setup in Outlook | CNAME | `autodiscover` | Optional |

`@` means the domain itself. Copy each value with the **Copy** button. **Already have an SPF record** (a TXT record starting with `v=spf1`)? Don't add a second one: edit it and replace its value with the one the setup shows, which keeps what you had and adds Phluit.

The two **Needed** records are enough to continue.

**Domain at Phluit:** press **Connect yourcompany.com for me** instead. We merge SPF into your existing record, keep your own DMARC policy, and log everything in Domains & DNS → History, where you can undo it.

## 4\. Switch your email to Phluit (the MX record)

This step sends **new** email for your domain to your Phluit mailboxes. Do it after your mailboxes exist and, if you have old mail, after the import has started ([how](/products/mailboxes/import-email-from-another-provider/)).

Delete the MX records that are there now and add this one:

| Type | Name / Host | Mail server | Priority |
| --- | --- | --- | --- |
| MX | `@` | `mail20.phluit.net` | 10 |

Then press **I changed it, check now**. **Domain at Phluit:** press **Switch my email to Phluit**.

Not ready yet? Press **I'll do this later**. The Mailboxes page then shows "New email doesn't come to Phluit yet" next to the domain, with a **Fix it** button that brings you back to this step.

## Checking a domain later

On **Email → Mailboxes**, each domain shows one line: **Email is working**, or what's missing with a **Fix it** button. **Technical details** lists every record and its status; press **Check again** after you change something.

## Removing a domain

Once a domain has no mailboxes left, open its **Technical details** and press **Remove domain**. Its extra addresses are removed with it.
