Home/HighLevel/Features/Email/HighLevel guide: linking Mailgun with a SiteGround domain

Conversations and Inbox

HighLevel guide: linking Mailgun with a SiteGround domain

In short

Mailgun can be used with HighLevel to send email from a domain managed in SiteGround. The process requires creating two TXT records, two MX records and one CNAME record in the SiteGround DNS Zone Editor, verifying them in Mailgun, and then entering the Mailgun API key in HighLevel to enable sending.

AreaEmail · MailGun
Used forEcommerce store, Digital marketing agency, SaaS startup
Setup steps33 steps in 8 tasks
Last updatedNovember 16, 2026

01Who this is for

  • Founders who need a dedicated sending domain for transactional email and want to keep their main domain free for Google Workspace.
  • Marketing teams that send campaigns through Mailgun and require proper DNS authentication to improve deliverability.

02Mailgun domain setup, explained

The feature lets you route outgoing email from HighLevel through Mailgun. After adding the required DNS records in SiteGround, you verify them in Mailgun, copy the Mailgun API key, and paste it into HighLevel’s email service settings so that HighLevel can use Mailgun to send messages.

03How businesses use Mailgun domain setup

  • Ecommerce store. Create a subdomain such as mg.store.com in Mailgun, add the five DNS records in SiteGround, verify them, then copy the Mailgun API key into HighLevel so order confirmation emails are sent through Mailgun.
  • Digital marketing agency. Set up a dedicated subdomain like campaigns.agency.com, follow the DNS steps in SiteGround, verify in Mailgun, and configure the API key in HighLevel to send client newsletters with proper authentication.
  • SaaS startup. Use the main domain or a subdomain, add the SPF, DKIM, MX and CNAME records in SiteGround, confirm verification in Mailgun, then connect the API key in HighLevel to deliver welcome and password reset emails.

04The numbers and rules that matter

  • SPF TXT value: V=spf1 include: Mailgun.org ~all.
  • MX priority: 10.

05Before you start

  • A Mailgun account with a verified email address.
  • Access to the domain’s DNS settings in SiteGround.
  • Decision on whether to use the main domain or a subdomain for Mailgun.

06How to set up and use Mailgun domain setup in HighLevel

Sign up for Mailgun and add your domain

  1. Sign up at Mailgun.com and verify the email address you receive.
  2. Log in to Mailgun and open Sending > Add New Domain.
  3. Choose to configure either the main domain or a subdomain, following Mailgun’s guidance on sharing a domain with other email providers.
  4. Set the domain region to US, click Add domain, and keep the DNS record screen open.

Access DNS records in SiteGround

  1. Log in to SiteGround.
  2. Navigate to Site Tools > Domain > DNS Zone Editor.
  3. In the Create New Record section, repeat the process for each of the five records.

Add the 1st TXT record (SPF)

  1. Click the TXT tab in the DNS Zone Editor.
  2. Enter the host name (mg, replies, or @ for the root domain) without the root domain.
  3. Paste v=spf1 include:mailgun.org ~all into the Value field.
  4. Click Create.

Add the 2nd TXT record (DKIM)

  1. Click + Add Record and select the TXT tab.
  2. Copy the name part from Mailgun up to the subdomain part, excluding the root domain, and enter it.
  3. Copy the long DKIM value from Mailgun and paste it into the Value field.
  4. Click Create.

Add the 1st MX record

  1. Click the MX tab and choose Add your own MX records.
  2. Enter the host name (mg, replies, or @) appropriate for your domain.
  3. Set Priority to 10.
  4. Paste mxa.mailgun.org into the Destination field.
  5. Click Create.

Add the 2nd MX record

  1. Add another MX record.
  2. Enter the same host name you used for the first MX record.
  3. Set Priority to 10.
  4. Paste mxb.mailgun.org into the Destination field.
  5. Click Create.

Add the CNAME record

  1. Click the CNAME tab.
  2. Enter the host name (email.mg, email.replies, or email) copied from Mailgun, without the root domain.
  3. Paste mailgun.org into the Resolves to field.
  4. Click Create.

Verify DNS and finish setup

  1. Return to Mailgun and click Verify DNS Settings.
  2. If any record lacks a green check, wait for propagation and click Verify DNS Settings again.
  3. When all records show green, copy the Mailgun API key.
  4. Add the API key to HighLevel’s email service settings and send a test email to confirm delivery.

07What it looks like in HighLevel

08Settings that matter

  • Name. Specifies the host portion of the DNS record; for subdomains it is the label before the domain, for the root domain it can be @ or left empty.
  • Value. Holds the data for TXT records, such as the SPF string or the DKIM public key.
  • Priority. Defines the preference order for MX records; Mailgun requires a value of 10 for both records.
  • Destination. The target mail server for MX records; use mxa.mailgun.org for the first MX and mxb.mailgun.org for the second.
  • Resolves to. The target that a CNAME record points to; Mailgun requires mailgun.org.

09Things to know before you rely on it

  • Domain must be set up under the US region; the EU region is not supported.
  • If using the main domain, it cannot be shared with Google Workspace or another email provider; a subdomain is required to avoid conflicts.
  • DNS propagation may take a few hours before Mailgun shows a green verification status.

10If something goes wrong

  • Unable to find the DNS Zone Editor in SiteGround. Log in to SiteGround and navigate to Site Tools > Domain > DNS Zone Editor.
  • "Add your own MX records" option is missing. Confirm you are on the correct domain and that email hosting is not locked to a different provider in your SiteGround plan.
  • Unclear whether to leave the Name field empty or use @ for the main domain. Both empty and @ are accepted by SiteGround’s DNS Zone Editor as representations of the root domain; use whichever the field allows.
  • Concern that adding Mailgun records will disrupt existing Gmail or Google Workspace mail. Use a subdomain for Mailgun and keep the existing MX records for Google Workspace unchanged on the main domain.
  • DNS records are not showing a green check in Mailgun. Wait a short period for DNS propagation, then click Verify DNS Settings again.
  • All records are verified but email still does not send. Copy the Mailgun API key, add it to HighLevel’s email service settings, and send a test email from a conversation to confirm delivery.

11How it connects to the rest of HighLevel

Michael's take

Michael Reimer
Michael ReimerFounder of CRM Pros, HighLevel Commander and Certified Admin

Wondering if you really need a separate subdomain for Mailgun? Using a subdomain lets you keep your Gmail delivery intact while you add the Mailgun records. You simply follow the steps, verify the DNS, and you’re ready to fire off transactional emails without disturbing your existing inbox.

First thing I’d do is double check the host names for each record in Siteground. A tiny typo can stall verification for hours. Once the records turn green, grab the API key and send a quick test email to make sure everything routes as expected.

Get More InformationOpens on HighLevelPublished November 2, 2026 · Updated November 16, 2026

Common questions

Common questions about Mailgun domain setup.

How do I access the DNS Zone Editor in SiteGround?

Log in to SiteGround, then go to Site Tools > Domain > DNS Zone Editor. From there you can add TXT, MX, and CNAME records.

What if "Add your own MX records" isn’t available?

The option appears under the MX tab. If it does not show, verify you are on the correct domain and that email hosting isn’t locked to another provider in your SiteGround plan.

Should I leave the Name field empty or use @ for the main domain?

Both options represent the root domain in SiteGround’s DNS Zone Editor. Use whichever the field accepts without an error.

Will this affect my existing Google Workspace or Gmail email?

It will not affect Google Workspace if you set up Mailgun on a subdomain and keep the main domain’s MX records for Google unchanged.

How long does DNS propagation take with SiteGround?

Propagation is usually quick but can sometimes take a few hours. If a record does not show a green check in Mailgun, wait and verify again.

What do I do after all 5 records show a green checkmark?

Copy the Mailgun API key, add it to your email service settings in HighLevel, and send a test email in a conversation to confirm that delivery works.

Next step

Pick the features that matter. Then get the plan that unlocks them.

Explore the features you want, start with the five at the top, and upgrade through my link when you are ready. The bonuses and the team come with it.

The features directory explains every HighLevel feature in plain English. Browse it to see what the platform can do.

Back to the FeaturesSee the full details
⌃

Site preview

Explore the next page

This destination is reserved in the page inventory and is not built yet.