{"id":3908,"date":"2025-12-27T00:35:06","date_gmt":"2025-12-27T00:35:06","guid":{"rendered":"https:\/\/telahosting.com\/manual\/?p=3908"},"modified":"2025-12-27T00:35:06","modified_gmt":"2025-12-27T00:35:06","slug":"how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin","status":"publish","type":"post","link":"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/","title":{"rendered":"How to Fix Mixed Content Issues After DNS Migration in DirectAdmin"},"content":{"rendered":"<p><img data-dominant-color=\"405067\" data-has-transparency=\"false\" style=\"--dominant-color: #405067;\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3910 not-transparent\" src=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/How-to-Fix-Mixed-Content-Issues-After-DNS-Migration-in-DirectAdmin-711x400.avif\" alt=\"How to Fix Mixed Content Issues After DNS Migration in DirectAdmin\" width=\"711\" height=\"400\" srcset=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/How-to-Fix-Mixed-Content-Issues-After-DNS-Migration-in-DirectAdmin-711x400.avif 711w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/How-to-Fix-Mixed-Content-Issues-After-DNS-Migration-in-DirectAdmin-768x432.avif 768w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/How-to-Fix-Mixed-Content-Issues-After-DNS-Migration-in-DirectAdmin.avif 1366w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#What_Is_Mixed_Content\" >What Is Mixed Content?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Why_Mixed_Content_Often_Happens_After_DNS_Migration\" >Why Mixed Content Often Happens After DNS Migration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_1_Confirm_SSL_Is_Properly_Installed_First\" >Step 1: Confirm SSL Is Properly Installed First<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_2_Identify_Mixed_Content_Files\" >Step 2: Identify Mixed Content Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_3_Update_Website_URLs_to_HTTPS\" >Step 3: Update Website URLs to HTTPS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_4_Fix_Mixed_Content_in_Images_Scripts_and_CSS\" >Step 4: Fix Mixed Content in Images, Scripts, and CSS<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_5_Fix_Mixed_Content_in_WordPress_If_You_Use_It\" >Step 5: Fix Mixed Content in WordPress (If You Use It)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_6_Check_External_Resources\" >Step 6: Check External Resources<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_7_Enable_Force_HTTPS_Redirect_in_DirectAdmin\" >Step 7: Enable Force HTTPS Redirect in DirectAdmin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_8_Clear_Cache_Very_Important\" >Step 8: Clear Cache (Very Important)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Step_9_Recheck_With_Online_Tools\" >Step 9: Recheck With Online Tools<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Common_Mistakes_That_Keep_Mixed_Content_Issues_Alive\" >Common Mistakes That Keep Mixed Content Issues Alive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/telahosting.com\/manual\/how-to-fix-mixed-content-issues-after-dns-migration-in-directadmin\/#FAQs\" >FAQs<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_Is_Mixed_Content\"><\/span><strong>What Is Mixed Content?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Mixed content happens when:<\/p>\n<ul>\n<li>Your website loads using <strong>HTTPS<\/strong><\/li>\n<li>But some files (images, scripts, CSS, fonts) still load using <strong>HTTP<\/strong><\/li>\n<\/ul>\n<p>So the browser thinks: \u201cThis page is partly secure and partly not secure.\u201d And that\u2019s why you see warnings.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Why_Mixed_Content_Often_Happens_After_DNS_Migration\"><\/span><strong>Why Mixed Content Often Happens After DNS Migration<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After a DNS migration, mixed content issues are very common because:<\/p>\n<ul>\n<li>Old URLs are still cached<\/li>\n<li>Website files still reference the old HTTP links<\/li>\n<li>The site URL wasn\u2019t fully updated to HTTPS<\/li>\n<li>External resources were hard-coded<\/li>\n<li>SSL was added after migration, not before<\/li>\n<\/ul>\n<p>This doesn\u2019t mean your migration failed. It just means a few cleanups are needed.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_1_Confirm_SSL_Is_Properly_Installed_First\"><\/span><strong>Step 1: Confirm SSL Is Properly Installed First<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before fixing mixed content, make sure SSL is working.<\/p>\n<p><strong>Check this:<\/strong><\/p>\n<ul>\n<li>Visit https:\/\/yourdomain.com<\/li>\n<li>Make sure the page loads<\/li>\n<li>Ensure SSL is active in <strong>DirectAdmin \u2192 SSL Certificates<\/strong><\/li>\n<\/ul>\n<p>If SSL is not installed yet, fix that first. Mixed content fixes only make sense <em>after<\/em> SSL is active.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_2_Identify_Mixed_Content_Files\"><\/span><strong>Step 2: Identify Mixed Content Files<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>The easiest way:<\/strong><\/p>\n<ol>\n<li>Open your website in <strong>Google Chrome<\/strong><\/li>\n<li>Right-click \u2192 <strong>Inspect<\/strong><\/li>\n<li>Click the <strong>Console<\/strong> tab<\/li>\n<\/ol>\n<p>You\u2019ll see warnings like: Blocked loading mixed active content &#8220;http:\/\/example.com\/image.jpg&#8221;<\/p>\n<p>These messages tell you exactly which files are loading over HTTP.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_3_Update_Website_URLs_to_HTTPS\"><\/span><strong>Step 3: Update Website URLs to HTTPS<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This is one of the most important fixes. <strong>Check your site configuration:<\/strong><\/p>\n<ul>\n<li>CMS settings (like WordPress)<\/li>\n<li>Config files<\/li>\n<li>Database entries<\/li>\n<\/ul>\n<p>Your site URL should be: https:\/\/yourdomain.com, not: http:\/\/yourdomain.com<\/p>\n<p>If the base URL is still HTTP, mixed content will keep appearing.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_4_Fix_Mixed_Content_in_Images_Scripts_and_CSS\"><\/span><strong>Step 4: Fix Mixed Content in Images, Scripts, and CSS<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now we clean up the actual files. <strong>Common places to check:<\/strong><\/p>\n<ul>\n<li>Image links<\/li>\n<li>JavaScript files<\/li>\n<li>CSS background images<\/li>\n<li>External fonts or libraries<\/li>\n<\/ul>\n<p>Replace: http:\/\/yourdomain.com\/file.jpg With: https:\/\/yourdomain.com\/file.jpg. Or better yet, use <strong>relative URLs<\/strong> like: \/file.jpg<\/p>\n<p>This avoids future issues completely.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_5_Fix_Mixed_Content_in_WordPress_If_You_Use_It\"><\/span><strong>Step 5: Fix Mixed Content in WordPress (If You Use It)<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If your site runs on WordPress (very common), <strong>Do this:<\/strong><\/p>\n<ul>\n<li>Update <strong>WordPress Address (URL)<\/strong> to HTTPS<\/li>\n<li>Update <strong>Site Address (URL)<\/strong> to HTTPS<\/li>\n<li>Use a trusted plugin to scan and replace HTTP links<\/li>\n<\/ul>\n<p>This cleans up old links stored in the database after migration.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_6_Check_External_Resources\"><\/span><strong>Step 6: Check External Resources<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sometimes the issue isn\u2019t from your site. Check if you\u2019re loading:<\/p>\n<ul>\n<li>Fonts<\/li>\n<li>Scripts<\/li>\n<li>APIs<\/li>\n<li>Ads<\/li>\n<li>Analytics<\/li>\n<\/ul>\n<p>From external sources using HTTP.<\/p>\n<p>If the external service doesn\u2019t support HTTPS, it\u2019s best to remove or replace it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_7_Enable_Force_HTTPS_Redirect_in_DirectAdmin\"><\/span><strong>Step 7: Enable Force HTTPS Redirect in DirectAdmin<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Even after fixing mixed content, forcing HTTPS helps prevent future problems.<\/p>\n<p><strong>How to do it:<\/strong><\/p>\n<ol>\n<li>Go to <a href=\"https:\/\/telahosting.com\/manual\/how-to-access-your-directadmin-panel\/\"><strong>DirectAdmin<\/strong><\/a><\/li>\n<li>Open <strong>Domain Setup<\/strong><\/li>\n<li>Select your domain<\/li>\n<li>Enable <strong>Force SSL \/ HTTPS Redirect<\/strong><\/li>\n<li>Save changes<\/li>\n<\/ol>\n<p><img data-dominant-color=\"e5e7ec\" data-has-transparency=\"false\" style=\"--dominant-color: #e5e7ec;\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3909 aligncenter not-transparent\" src=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/Enable-Force-HTTPS-Redirect-in-DirectAdmin-711x400.avif\" alt=\"Enable Force HTTPS Redirect in DirectAdmin\" width=\"711\" height=\"400\" srcset=\"https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/Enable-Force-HTTPS-Redirect-in-DirectAdmin-711x400.avif 711w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/Enable-Force-HTTPS-Redirect-in-DirectAdmin-768x432.avif 768w, https:\/\/telahosting.com\/manual\/wp-content\/uploads\/2025\/12\/Enable-Force-HTTPS-Redirect-in-DirectAdmin.avif 1366w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/p>\n<p>This ensures everything loads securely.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_8_Clear_Cache_Very_Important\"><\/span><strong>Step 8: Clear Cache (Very Important)<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>After a DNS migration, caches can be stubborn. Clear:<\/p>\n<ul>\n<li>Browser cache<\/li>\n<li>CMS cache (if any)<\/li>\n<li>CDN cache (if used)<\/li>\n<\/ul>\n<p>Then reload your site in <strong>Incognito mode<\/strong>.<\/p>\n<p>This step alone often makes the padlock appear.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step_9_Recheck_With_Online_Tools\"><\/span><strong>Step 9: Recheck With Online Tools<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Use these tools to confirm everything is clean:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.whynopadlock.com\/\" target=\"_blank\" rel=\"noopener\">WhyNoPadlock<\/a><\/li>\n<li>Browser console<\/li>\n<li>SSL checker tools<\/li>\n<\/ul>\n<p>If there are no mixed content warnings, you\u2019re good.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Common_Mistakes_That_Keep_Mixed_Content_Issues_Alive\"><\/span><strong>Common Mistakes That Keep Mixed Content Issues Alive<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Avoid these:<\/p>\n<ul>\n<li>Fixing SSL but ignoring file URLs<\/li>\n<li>Forgetting to update the database<\/li>\n<li>Leaving hard-coded HTTP links<\/li>\n<li>Not clearing cache after fixes<\/li>\n<li>Assuming DNS migration broke the site<\/li>\n<\/ul>\n<p>Mixed content is about content, not DNS itself.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Mixed content issues after a DNS migration are common and completely normal. They don\u2019t mean your site is broken or insecure. They simply mean some parts of your website still remember the old HTTP setup.<\/p>\n<p>With DirectAdmin on telaHosting, fixing this is all about aligning your <strong>DNS, SSL, and content URLs<\/strong>. Once everything speaks HTTPS, the warnings disappear, the padlock returns, and your site looks trustworthy again.<\/p>\n<p>Take it step by step, and you\u2019ll be sorted in no time.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQs\"><\/span><strong>FAQs<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>1. Does mixed content affect SEO?<\/strong><\/p>\n<p>Yes. Browsers may block content, and search engines prefer fully secure pages.<\/p>\n<p><strong>2. Can DNS migration cause mixed content?<\/strong><\/p>\n<p>Indirectly, yes \u2014 especially when SSL is added after migration.<\/p>\n<p><strong>3. Will Force HTTPS alone fix mixed content?<\/strong><\/p>\n<p>No. It helps, but URLs must still be corrected.<\/p>\n<p><strong>4. Is mixed content dangerous?<\/strong><\/p>\n<p>It can expose users to security risks, which is why browsers warn about it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What Is Mixed Content? Mixed content happens when: Your website loads using HTTPS But some files (images, scripts, CSS, fonts) still load using HTTP So the browser thinks: \u201cThis page is partly secure and partly not secure.\u201d And that\u2019s why you see warnings. Why Mixed Content Often Happens After DNS Migration After a DNS migration,&#8230;<\/p>\n","protected":false},"author":12,"featured_media":3910,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[33,23],"tags":[54,60],"class_list":["post-3908","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-directadmin","category-security","tag-directadmin","tag-dns"],"_links":{"self":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/comments?post=3908"}],"version-history":[{"count":1,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3908\/revisions"}],"predecessor-version":[{"id":3911,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/posts\/3908\/revisions\/3911"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/media\/3910"}],"wp:attachment":[{"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/media?parent=3908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/categories?post=3908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/telahosting.com\/manual\/wp-json\/wp\/v2\/tags?post=3908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}