{"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-10-07T16:08:29","modified_gmt":"2026-10-07T10:38:29","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=\"https:\/\/www.secureserver.net\/?pl_id=527319\" target=\"_blank\" rel=\"noopener\">GoDaddy<\/a> and register your domain with HostGator, then this guide will help you. To illustrate, I have chosen <a href=\"https:\/\/www.secureserver.net\/?pl_id=527319\" target=\"_blank\" rel=\"noopener\">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=\"\" title=\"\"><\/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_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"How to Configure DNS for cPanel Email","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[150],"tags":[],"class_list":["post-5081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel"],"acf":[],"jetpack_publicize_connections":[],"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 in cPanel (Step-by-Step Guide)","author":"RK Jajoria","date":"June 1, 2018","format":false,"excerpt":"Quick answer: To enable PHP extensions in cPanel, go to Software > Select PHP Version, tick the checkbox next to the extension you need, and click Save. If the extension you need isn't in that checklist (some less common ones aren't), you can install it manually through the PHP PEAR\u2026","rel":"","context":"In &quot;Tutorial&quot;","block_context":{"text":"Tutorial","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/"},"img":{"alt_text":"enable php extensions in cpanel","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/06\/Enable-zip-in-cpanel.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4973,"url":"https:\/\/phpyouth.com\/blog\/enable-gzip-compression\/","url_meta":{"origin":5081,"position":1},"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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/07\/GZIP-Compression.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":12454,"url":"https:\/\/phpyouth.com\/blog\/hostinger-review\/","url_meta":{"origin":5081,"position":2},"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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/04\/Hostinger-Review-2026-e1778241061288.png?resize=700%2C400&ssl=1 2x"},"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 (Complete Guide)","author":"RK Jajoria","date":"May 2, 2018","format":false,"excerpt":"Quick answer: To enable PHP modules in WHM, go to EasyApache 4, click Customize on your active profile, search for the module under the PHP Extensions tab, select it, and click Provision. WHM rebuilds PHP with the new module included, and it becomes available across every account on the server.\u2026","rel":"","context":"In &quot;Tutorial&quot;","block_context":{"text":"Tutorial","link":"https:\/\/phpyouth.com\/blog\/category\/tutorial\/"},"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?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2018\/05\/PHP-ZIP-module-banner.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":13539,"url":"https:\/\/phpyouth.com\/blog\/php-performance-optimization-high-traffic-sites\/","url_meta":{"origin":5081,"position":4},"title":"How to Optimize PHP Performance for High-Traffic Sites","author":"RK Jajoria","date":"August 13, 2026","format":false,"excerpt":"Quick answer: PHP performance optimization for high-traffic sites comes down to five levers: run a current PHP version with OPcache enabled, add an object cache like Redis, tune PHP-FPM worker limits to your server's real capacity, cut database query overhead, and profile before you guess. Sites that skip profiling almost\u2026","rel":"","context":"In &quot;Speed Performance&quot;","block_context":{"text":"Speed Performance","link":"https:\/\/phpyouth.com\/blog\/category\/wordpress\/speed-performance\/"},"img":{"alt_text":"php performance optimization","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Optimize-PHP-Performance.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Optimize-PHP-Performance.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Optimize-PHP-Performance.webp?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Optimize-PHP-Performance.webp?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Optimize-PHP-Performance.webp?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/08\/Optimize-PHP-Performance.webp?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":5224,"url":"https:\/\/phpyouth.com\/blog\/create-duplicate-database-using-phpmyadmin\/","url_meta":{"origin":5081,"position":5},"title":"How to make Duplicate\/Clone\/Copy Database using PHPMyAdmin","author":"RK Jajoria","date":"June 2, 2020","format":false,"excerpt":"Hello Friends, how are you? I hope all are feeling well, safe, and at home in this pandemic. I also want to say sorry for not publishing an article in the last 75 days. So today we started again with a new topic, can't say new but yes it's who\u2026","rel":"","context":"In &quot;Database&quot;","block_context":{"text":"Database","link":"https:\/\/phpyouth.com\/blog\/category\/web-hosting\/database\/"},"img":{"alt_text":"DuplicateCloneCopy Database using PHPMyAdmin","src":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Duplicate-Clone-Copy-Database-using-PHPMyAdmin.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Duplicate-Clone-Copy-Database-using-PHPMyAdmin.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/phpyouth.com\/blog\/wp-content\/uploads\/2026\/01\/Duplicate-Clone-Copy-Database-using-PHPMyAdmin.webp?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"jetpack_featured_media_url":"https:\/\/phpyouth.com\/blog\/wp-content\/uploads\/2019\/08\/cPanel-DNS-configuration-1.png","_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":2,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5081\/revisions"}],"predecessor-version":[{"id":13765,"href":"https:\/\/phpyouth.com\/blog\/wp-json\/wp\/v2\/posts\/5081\/revisions\/13765"}],"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}]}}