All Collections
cPanel
Email
How to Set up a Domain for cPanel Email
How to Set up a Domain for cPanel Email

Setting up email DNS records (MX, SPF, and DKIM records)

Updated today

To have your email account working with Hostinger, you only need to do a few easy steps:

  1. Point your domain to Hostinger using the cPanel nameservers:

    • cdns1.main-hosting.eu

    • cdns2.main-hosting.eu

If your domain is pointed to Hostinger via nameservers, the required MX, SPF and DKIM records are added automatically.

If Your Domain Is Pointed Elsewhere via Nameservers

If your domain is pointed to another provider via nameservers, your DNS zone is also managed from there. For instance, if your domain is pointed to Cloudflare via nameservers, your domain's DNS zone is managed from Cloudflare.

As long as your domain is pointed to Hostinger by A record, the changes you should make to your DNS zone can be found in the Email Deliverability section on cPanel:

There, you can find the necessary values of MX, SPF, and DKIM records.

After making any changes to your domain's DNS zone, allow a few hours for DNS propagation to complete, and your email service will be up and running.

If Your Domain Is Pointed Elsewhere via an A Record

Add cPanel MX records: since MX records of cPanel point back to your server IP, to use email services with us, follow this procedure:

  1. Create a subdomain (for example, mails)

  2. Point the subdomain to your cPanel’s hosting IP address here at Hostinger via A record

  3. Point your domain’s MX record to the newly created subdomain

Once this is done, your MX records will be pointed to our server 👍

The required SPF and DKIM record values for cPanel can be found inside your DNS management zone - copy them and add them to your active DNS zone.

Did this answer your question?