{"id":1019,"date":"2021-10-22T06:36:05","date_gmt":"2021-10-22T06:36:05","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/10\/22\/5670904-how-to-set-up-a-domain-for-cpanel-email-at-hostinger\/"},"modified":"2026-03-16T12:12:10","modified_gmt":"2026-03-16T12:12:10","slug":"5670904-how-to-set-up-a-domain-for-cpanel-email-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5670904-how-to-set-up-a-domain-for-cpanel-email-at-hostinger\/","title":{"rendered":"How to Set Up a Domain for cPanel Email at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">To have your email account working with Hostinger, you only need to do a few easy steps:<\/p><ol>\n<li>\n<p class=\"no-margin\">Point your domain to Hostinger using the <b>cPanel nameservers<\/b>:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b>cdns1.main-hosting.eu<\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>cdns2.main-hosting.eu<\/b><br>&#8203;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/support\/4437981-how-to-create-and-delete-free-email-accounts-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">Create an email account on cPanel<\/a> <\/b><\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">If your domain is pointed to Hostinger via nameservers, the required <b><a href=\"\/support\/4443671-how-to-add-and-remove-mx-records-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">MX<\/a><\/b>, <b><a href=\"\/support\/4570278-how-to-manage-spf-records-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">SPF<\/a><\/b> and DKIM records are <b>added<\/b> <b>automatically<\/b>.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_82898395a7\">If Your Domain Is Pointed Elsewhere via Nameservers<\/h2><p class=\"no-margin\">If your domain is <b>pointed to another provider via nameservers<\/b>, your <b>DNS zone<\/b> is also <b><a href=\"\/support\/4410887-dns-record-changes-in-other-registrars-hosting-providers\" target=\"_blank\" class=\"intercom-content-link\">managed from there<\/a><\/b>. For instance, if your domain is <b>pointed to Cloudflare via nameservers<\/b>, your domain&rsquo;s <b>DNS zone is managed from<\/b> <b>Cloudflare<\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">As long as your domain is pointed to Hostinger by <b><a href=\"\/support\/4469621-where-can-i-find-a-record-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">A record<\/a><\/b>, the changes you should make to your DNS zone can be found in the <b>Email Deliverability <\/b>section on cPanel:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/10\/6cea3957-100a-44b5-9bfb-c5a0fa074e15.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">There, you can find the necessary values of <b><a href=\"\/support\/4443671-how-to-add-and-remove-mx-records-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">MX<\/a><\/b>, <b><a href=\"\/support\/4570278-how-to-manage-spf-records-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">SPF<\/a><\/b>, and <b><a href=\"\/support\/4570283-how-to-manage-dkim-records-on-cpanel\" target=\"_blank\" class=\"intercom-content-link\">DKIM<\/a><\/b> records.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">After making any changes to your domain&rsquo;s DNS zone, allow a few hours for <b><a href=\"\/support\/4146975-what-is-dns-propagation\" target=\"_blank\" class=\"intercom-content-link\">DNS propagation<\/a> <\/b>to complete, and your email service will be up and running.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_06affce3ca\">If Your Domain Is Pointed Elsewhere via an A Record<\/h2><p class=\"no-margin\"><b>Add cPanel<\/b> <b>MX<\/b> records: since MX records of cPanel point back to your <b>server IP<\/b>, to use email services with us, follow this procedure:<\/p><ol>\n<li>\n<p class=\"no-margin\"><b><a href=\"\/support\/4469008-how-to-create-and-delete-subdomains-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">Create a subdomain<\/a><\/b> (for example, <b>mails<\/b>)<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Point the subdomain to your cPanel&rsquo;s hosting <b>IP<\/b> address here at Hostinger via <b><a href=\"\/support\/4468883-how-to-add-and-remove-a-records-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">A record<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Point your domain&rsquo;s <b>MX<\/b> record to the newly created subdomain<\/p>\n<\/li>\n<\/ol><p class=\"no-margin\">Once this is done, your <b>MX<\/b> records will be pointed to our server &#128077;<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">The required SPF and DKIM record values for <b>cPanel<\/b> can be found inside your <b><a href=\"\/support\/4469063-how-to-add-and-remove-txt-records-in-cpanel\" target=\"_blank\" class=\"intercom-content-link\">DNS management zone<\/a><\/b> &ndash; copy them and add them to your active DNS zone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up email DNS records (MX, SPF, and DKIM records)<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[186],"tags":[],"class_list":["post-1019","post","type-post","status-publish","format-standard","hentry","category-email-cpanel"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5670904-how-to-set-up-a-domain-for-cpanel-email-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5670904-como-configurar-un-dominio-para-el-email-de-cpanel-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5670904-comment-configurer-un-nom-de-domaine-pour-l-e-mail-de-cpanel-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5670904-cara-setup-domain-untuk-email-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/5670904-como-configurar-um-dominio-para-o-e-mail-do-cpanel-no-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/5670904-----\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"predecessor-version":[{"id":4128,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1019\/revisions\/4128"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}