{"id":5081,"date":"2019-08-31T13:22:48","date_gmt":"2019-08-31T07:52:48","guid":{"rendered":"https:\/\/phpyouth.com\/blog\/?p=5081"},"modified":"2026-05-06T16:05:14","modified_gmt":"2026-05-06T10:35:14","slug":"configure-dns-for-cpanel-email","status":"publish","type":"post","link":"https:\/\/phpyouth.com\/blog\/configure-dns-for-cpanel-email\/","title":{"rendered":"How to Configure DNS for cPanel Email"},"content":{"rendered":"<p>Hello friends, today we will learn how to configure DNS for cPanel Email. Specifically, if you create email accounts in the cPanel of <a href=\"http:\/\/hosting.phpyouth.com\/\">GoDaddy<\/a> and register your domain with HostGator, then this guide will help you. To illustrate, I have chosen <a href=\"http:\/\/hosting.phpyouth.com\/\">GoDaddy<\/a> and HostGator as examples because both provide top services in their fields.<\/p>\n<p>Many users face issues with <strong>incoming and outgoing mail not working<\/strong> after creating email accounts in cPanel. This happens because they do not configure DNS properly in the Domain Manager. Therefore, you must add some mandatory DNS records for email to work correctly. Otherwise, Otherwise, emails will stop working. In this article, we will learn how to configure DNS for cPanel email.<\/p>\n<p>The DNS manager contains many records; However, you only need to update the mandatory ones for email to function properly.<\/p>\n<h4>Below is the list of essential DNS records you should add. Please refer to the table below:<\/h4>\n<table style=\"border-collapse: collapse; color: #333;\">\n<tbody>\n<tr>\n<th style=\"padding: 5px; text-align: left;\">Record Type<\/th>\n<th style=\"padding: 5px; text-align: left;\">Host<\/th>\n<th style=\"padding: 5px; text-align: left;\">Points to<\/th>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong style=\"color: #06c;\">A<\/strong><\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">@<\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">Your account&#8217;s IP address<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong style=\"color: #06c;\">A<\/strong><\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">mail<\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">Your account&#8217;s IP address<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong style=\"color: #06c;\">CNAME<\/strong><\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">www<\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">@<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong style=\"color: #06c;\">MX (Mail Exchanger)<\/strong><\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">@<\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong>mail.<\/strong><em>[your domain name]<\/em>, for example, <strong>mail.<\/strong><em>phpyouth.com<br \/>\n<\/em><br \/>\n<strong>NOTE:<\/strong> Use MX Priority 0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>NOTE:<\/strong> The MX entry listed above should be the only MX entry. If you have added other MX records, then please delete them.<\/p>\n<p>Two more records that also need to be updated in the DNS manager are TXT records. We use these records only if we are using cPanel email. However, If you have these TXT records, and you use another email provider with your domain, you may experience problems sending emails. So, Therefore, below are the TXT records. Please update them in your DNS manager.<\/p>\n<table>\n<tbody>\n<tr>\n<th style=\"padding: 5px; text-align: left;\">Record Type<\/th>\n<th style=\"5px; text-align: left;\">Host<\/th>\n<th style=\"5px; text-align: left;\">Points to<\/th>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong style=\"color: #06c;\">TXT<\/strong><\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">@<\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">v=spf1 a mx ptr include:secureserver.net -all<\/p>\n<p><strong>NOTE:<\/strong> This record applies only to cPanel shared hosting accounts.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\"><strong style=\"color: #06c;\">TXT<\/strong><\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">admin<\/td>\n<td style=\"padding: 5px;\" align=\"left\" valign=\"top\">v=spf1 a mx ptr include:secureserver.net -all<\/p>\n<p><strong>NOTE:<\/strong> This record applies only to cPanel shared hosting accounts.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<article class=\"text-token-text-primary w-full focus:outline-none scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" tabindex=\"-1\" data-turn-id=\"request-WEB:fc534a24-91a9-4e6a-bdc5-50621a9f3753-39\" data-testid=\"conversation-turn-80\" data-scroll-anchor=\"true\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:--spacing(4)] thread-sm:[--thread-content-margin:--spacing(6)] thread-lg:[--thread-content-margin:--spacing(16)] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] thread-lg:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\" tabindex=\"-1\">\n<div class=\"flex max-w-full flex-col grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"f0e6e1be-633f-47e5-a595-66d4b0709f71\" data-message-model-slug=\"gpt-4-1-mini\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[1px]\">\n<div class=\"markdown prose dark:prose-invert w-full break-words light markdown-new-styling\">\n<blockquote data-start=\"46\" data-end=\"228\" data-is-last-node=\"\" data-is-only-node=\"\">\n<p data-start=\"48\" data-end=\"228\" data-is-last-node=\"\">Friends, I have shared my experience with you all, I want to emphasize that this article will definitely help, but if you still encounter errors, you can also consult the support team of your service provider for further assistance.<\/p>\n<\/blockquote>\n<p>Furthermore, if you found this article helpful, please share your thoughts in the comment box below. Keep learning, and don\u2019t forget to share this article with your network.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone \" src=\"https:\/\/i0.wp.com\/media.go2speed.org\/brand\/files\/hostinger\/6\/EN-970x250.jpg?resize=970%2C250&amp;ssl=1\" width=\"1028\" height=\"265\" alt=\"\"><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>Hello friends, today we will learn how to configure DNS for cPanel Email. Specifically, if you create email accounts in the cPanel of GoDaddy and register your domain with HostGator, then this guide will help you. To illustrate, I have chosen GoDaddy and HostGator as examples because both provide top services in their fields. Many [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5089,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[150],"tags":[198,201,202,200,199],"class_list":["post-5081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","tag-dns-configuration","tag-dns-manager","tag-godaddy","tag-mx-records","tag-txt-records"],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/cPanel-DNS-configuration-1.png?fit=560%2C315&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8zepR-1jX","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":4782,"url":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-cpanel\/","url_meta":{"origin":5081,"position":0},"title":"How to Enable PHP Extensions through cPanel","author":"RK Jajoria","date":"June 1, 2018","format":false,"excerpt":"Friends, today we\u2019ll discuss how to enable PHP extensions through cPanel. A few weeks ago, we shared a post about enabling PHP modules in WHM. So, we\u2019re writing this post now because a subscriber requested it. Install PHP Zip in cPanel if not enabled by default. Let\u2019s see how to\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/cpanel\/"},"img":{"alt_text":"Enable zip in cpanel","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":12454,"url":"https:\/\/phpyouth.com\/blog\/hostinger-review\/","url_meta":{"origin":5081,"position":1},"title":"Hostinger Review 2026: Is It Really Worth It for Business Websites?","author":"RK Jajoria","date":"April 29, 2026","format":false,"excerpt":"I'll be upfront with you: I was skeptical about Hostinger the first time a client asked me to set up their business website on it. The pricing felt almost too cheap. Around $3 a month? For a business website? My instinct was to talk them out of it and go\u2026","rel":"","context":"In &quot;Web Hosting&quot;","block_context":{"text":"Web Hosting","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/"},"img":{"alt_text":"Hostinger Review","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?fit=880%2C491&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?fit=880%2C491&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?fit=880%2C491&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?fit=880%2C491&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":4973,"url":"https:\/\/phpyouth.com\/blog\/enable-gzip-compression\/","url_meta":{"origin":5081,"position":2},"title":"How to enable GZIP compression","author":"RK Jajoria","date":"July 2, 2019","format":false,"excerpt":"Hello, friends, today\u2019s topic is how to enable GZIP compression on your web server. If you know what GZIP is and how to enable it, that\u2019s good. But if you don\u2019t, please read this tutorial till the end. What is GZIP Compression? GZIP is a file format and software application\u2026","rel":"","context":"In &quot;cPanel&quot;","block_context":{"text":"cPanel","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/cpanel\/"},"img":{"alt_text":"GZIP-Compression","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4734,"url":"https:\/\/phpyouth.com\/blog\/how-to-enable-php-modules-in-whm\/","url_meta":{"origin":5081,"position":3},"title":"How to Enable PHP Modules in WHM","author":"RK Jajoria","date":"May 2, 2018","format":false,"excerpt":"Hello friends, today we will learn how to enable PHP modules in WHM(Web Host Manager). Many WordPress beginners face this issue while importing demo content on a paid WordPress theme. Sometimes, required PHP modules are not installed or activated by default in cPanel. In this article, we will focus on\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/php\/"},"img":{"alt_text":"How to Enable PHP Modules in WHM","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4462,"url":"https:\/\/phpyouth.com\/blog\/add-administrator-user-in-wordpress-using-mysql\/","url_meta":{"origin":5081,"position":4},"title":"Add Administrator User in WordPress Using MySQL","author":"RK Jajoria","date":"September 8, 2017","format":false,"excerpt":"Friends, In today\u2019s article, we\u2019ll learn how to add an administrator user to WordPress using MySQL. Yesterday, my best friend reached out to me because his WordPress site was hacked, and his admin account was deleted. He asked me how he could add a new administrator without accessing the WordPress\u2026","rel":"","context":"In &quot;MySQL&quot;","block_context":{"text":"MySQL","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/database\/mysql\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/09\/2.png?fit=560%2C315&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/09\/2.png?fit=560%2C315&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2017\/09\/2.png?fit=560%2C315&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":198,"url":"https:\/\/phpyouth.com\/blog\/how-to-speed-up-your-wordpress-website-with-5-simple-steps\/","url_meta":{"origin":5081,"position":5},"title":"How To Speed Up Your WordPress Website with 5 Simple Steps","author":"RK Jajoria","date":"August 30, 2017","format":false,"excerpt":"WordPress Themes can be more faster than you think let's see how !!? A few months ago, I ran an experiment to see how much faster I could make one of my websites. The goal was to do this in less than two hours of work. After installing a handful\u2026","rel":"","context":"In &quot;Wordpress&quot;","block_context":{"text":"Wordpress","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"Speed up your WordPress theme","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/WordPress-performance-optimization.png?fit=1100%2C620&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/WordPress-performance-optimization.png?fit=1100%2C620&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/WordPress-performance-optimization.png?fit=1100%2C620&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/WordPress-performance-optimization.png?fit=1100%2C620&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2014\/05\/WordPress-performance-optimization.png?fit=1100%2C620&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/comments?post=5081"}],"version-history":[{"count":1,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5081\/revisions"}],"predecessor-version":[{"id":12516,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5081\/revisions\/12516"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media\/5089"}],"wp:attachment":[{"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/media?parent=5081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/categories?post=5081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/tags?post=5081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}