Custom Domains
Creating custom domains in Mailgun enables you to send emails through your own domain instead of relying on the default sandbox domain. To use Mailgun for production, you must create and verify your custom domain(s) with Mailgun to ensure proper authentication and deliverability. Once you've acquired a domain through a DNS provider, follow these steps to set it up with Mailgun.
Add your domain:
- Go to the Mailgun Control Panel
- On the left side control panel, click 'Send' then 'Sending' to expand the sidebar, then click 'Domains'
- Click the Add new domain button from the upper right corner
- Enter your domain name in the Domain name field
- Select Domain region
- Choose your IP assignment option
- Click the Add Domain button
Once a domain has been added, you will receive an email that you will need to respond to so that it can be verified.