Skip to content
EN
EUR
Questions? Call us +49 69 95209894

Guide

How to set up email with your own domain

An address like hello@yourname.co.uk looks more professional than a free webmail address, and it stays yours even if you switch provider. Here is how to set it up and avoid the most common mistakes.

By the Gramli team ·

In short

  • You need a domain, an email provider that supports custom domains, and access to your domain's DNS settings.
  • Three records matter most: MX decides where email for your domain goes; SPF and DKIM show who may send in your name.
  • There is only one way in: once the MX record points to a new provider, all email arrives there and no longer at the old one.
  • DNS changes usually take effect within minutes, but depending on the setting (TTL) it can take a few hours.

What you need

  • A domain, registered with a domain provider (registrar), for example your hosting provider.
  • Access to the DNS management for that domain: that is where you add the records.
  • An email provider that offers mailboxes on your own domain.
  • About 15 to 30 minutes and the records your email provider gives you.

The DNS records at a glance

Every email provider gives you its own values. The types of record are the same everywhere, though:

RecordWhat it doesExample
TXT (verification) Shows the email provider that the domain is yours. _provider-verify.yourname.co.uk
MX Tells other mail servers where email for your domain goes. mx.provider.com, priority 10
SPF (TXT) Defines which servers may send email in your name. v=spf1 include:_spf.example.com ~all
DKIM (TXT or CNAME) A digital signature recipients use to check that an email really comes from you. s1._domainkey.yourname.co.uk
DMARC (TXT) Tells recipients what to do with email that fails SPF and DKIM. _dmarc.yourname.co.uk: v=DMARC1; p=none

Step by step

  1. Choose a mailbox plan with your email provider and add your domain there.
  2. Add the verification record (TXT) in your domain's DNS management and confirm it with your email provider.
  3. Set the MX record. If there are already MX records from another provider, remove them, otherwise email ends up sometimes here, sometimes there.
  4. Add an SPF record or extend an existing one, and copy the DKIM records exactly as your provider gives them.
  5. Run the check: good providers show you which records are correct. Then send a test email to another address and get one back.
  6. Optional but recommended: add a DMARC record with p=none and tighten it later.

Common mistakes

  • Two SPF records: a domain may only have one. If one already exists, add the new provider to it instead of creating a second.
  • Forgetting old MX records: incoming email is then split between two providers.
  • Entering the domain name twice: many DNS panels add your domain automatically. "_dmarc.yourname.co.uk" then becomes "_dmarc.yourname.co.uk.yourname.co.uk". In the "Name" field, "_dmarc" is enough there.
  • Giving up too early: depending on the TTL, it can take a few hours until every server knows the new records.
  • Setting DMARC to "reject" straight away: this can block your own email while SPF or DKIM aren't right yet.

DMARC: start small

With p=none nothing happens to your email at first; you only see whether SPF and DKIM pass everywhere if you have reports sent to you (the rua=mailto:… tag). Once the checks pass cleanly, switch to p=quarantine and later to p=reject. Forged email using your address then lands in spam or is rejected.

How it works with Gramli

With Gramli you connect a domain you already own; it stays registered with your provider. In the dashboard under Mail → Mailboxes → Own domains you first get a TXT record as verification. After that, the dashboard lists the mail records (MX, SPF and CNAME records for the signature) with copy buttons and checks them automatically.

  • You receive email as soon as the MX record points only to Gramli. Mailboxes with another provider then stop getting new email.
  • Gramli doesn't set DMARC for you. A record with p=none is a good start.
  • You read and write in webmail, in the browser and on your phone. There is no IMAP, POP3 or SMTP for email apps; forwarding to another mailbox is possible.
  • Studio includes 1 mailbox with 2 GB, Partner 5 mailboxes with 5 GB each and up to 3 own domains.