> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Domains

> Configure custom domains and MX records to receive inbound emails at your company domain.

# Custom Receiving Domains

To receive emails at your own domain (e.g. `reply@updates.yourcompany.com` or `inbound@yourdomain.com`), configure an inbound MX record at your DNS provider.

***

## Dedicated Inbound Subdomain (Recommended)

If your root apex domain (`yourcompany.com`) already uses Google Workspace, Microsoft 365, or Fastmail for employee mailboxes, **do not change the apex MX records**.

Instead, configure a dedicated inbound subdomain such as:

* `inbound.yourcompany.com`
* `reply.yourcompany.com`
* `support.yourcompany.com`

This ensures your team's regular business inboxes continue functioning without disruption.

***

## Required DNS Records for Inbound

Add the following records at your DNS host:

| Type | Name / Host | Priority | Value / Target |
| :- | :- | :- | :- |
| `MX` | `inbound.yourcompany.com` | `10` | `inbound-smtp.us-east-1.amazonses.com` |
| `TXT` | `inbound.yourcompany.com` | - | `v=spf1 include:amazonses.com ~all` |

***

## Verifying Inbound Route

Once DNS records are active:

1. In the Mailofly dashboard, open **Domains** → select your domain.
2. Toggle on **Inbound Routing**.
3. Mailofly will verify the inbound MX record and enable the inbound webhook listener.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.