{"id":18711,"date":"2026-09-23T03:49:29","date_gmt":"2026-09-23T03:49:29","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=18711"},"modified":"2026-10-29T15:19:27","modified_gmt":"2026-10-29T15:19:27","slug":"hostinger-cdn-and-your-dns-records","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/hostinger-cdn-and-your-dns-records\/","title":{"rendered":"Hostinger CDN and your DNS records"},"content":{"rendered":"<p><a data-click-id=\"hgr-post-content-link-hostinger-cdn\" href=\"\/support\/7935917-hostinger-cdn-website-optimization\/\">Hostinger CDN<\/a> DNS records change the moment you enable the CDN: the root A and AAAA records and the www record start pointing to Hostinger&rsquo;s Content Delivery Network (CDN) instead of your hosting plan, and Hostinger manages them for as long as the CDN stays on. Enabling Hostinger CDN requires the domain to use Hostinger nameservers, editing the root or www records means disabling the CDN first, a subdomain added as its own website gets its own CDN switch, and disabling the CDN restores direct routing to the hosting plan after a short propagation window.<\/p><h3>Before you start<\/h3><ul>\n<li>Hostinger CDN requires the domain to use <a data-click-id=\"hgr-post-content-link-hostinger-nameservers\" href=\"\/support\/1583247-where-to-find-hostinger-nameservers\/\">Hostinger nameservers<\/a>. Hostinger can only update records in DNS (Domain Name System) zones it manages, so a domain on external nameservers &mdash; including Cloudflare &mdash; cannot be routed through the CDN until the nameservers are changed at the registrar.<\/li>\n<\/ul><h2 id=\"h-what-changes-in-your-dns-zone-when-hostinger-cdn-is-enabled\">What changes in your DNS zone when Hostinger CDN is enabled<\/h2><p>Enabling Hostinger CDN changes the DNS records that route visitors to your website. The <a data-click-id=\"hgr-post-content-link-a\" href=\"\/support\/4468886-how-to-manage-a-records-at-hostinger\/\">A<\/a> and <a data-click-id=\"hgr-post-content-link-aaaa\" href=\"\/support\/8899705-how-to-manage-aaaa-records-at-hostinger\/\">AAAA<\/a> records of the domain, and the www record, point to the CDN instead of directly to your hosting server. Hostinger manages these records while the CDN is enabled, which is why they cannot be edited manually, and restores direct routing when the CDN is disabled. All other records &mdash; <a data-click-id=\"hgr-post-content-link-mx\" href=\"\/support\/4443666-how-to-manage-mx-records-at-hostinger\/\">MX<\/a> for email, <a data-click-id=\"hgr-post-content-link-txt\" href=\"\/support\/1583664-how-to-manage-txt-records-at-hostinger\/\">TXT<\/a> for verification, and <a data-click-id=\"hgr-post-content-link-subdomains\" href=\"\/support\/1583405-how-to-create-and-delete-subdomains-in-hostinger\/\">subdomains<\/a> &mdash; are not affected.<\/p><div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80;width: 261px\">\n<p class=\"intercom-align-center no-margin\"><b>Record<\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>Before<\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>With Hostinger CDN<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 261px\">\n<p class=\"no-margin\"><code>domain.tld<\/code> A and AAAA<\/p>\n<\/td>\n<td>\n<p class=\"intercom-align-center no-margin\">IP address of your hosting plan<\/p>\n<\/td>\n<td>\n<p class=\"intercom-align-center no-margin\">CDN addresses, managed by Hostinger<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 261px\">\n<p class=\"no-margin\"><code>www.domain.tld<\/code><\/p>\n<\/td>\n<td>\n<p class=\"intercom-align-center no-margin\">A record or CNAME to your hosting plan<\/p>\n<\/td>\n<td>\n<p class=\"intercom-align-center no-margin\">CNAME to a CDN hostname, managed by Hostinger<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 261px\">\n<p class=\"no-margin\">MX, TXT, other subdomains<\/p>\n<\/td>\n<td>\n<p class=\"intercom-align-center no-margin\">Unchanged<\/p>\n<\/td>\n<td>\n<p class=\"intercom-align-center no-margin\">Unchanged<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><p>DNS changes take up to 24 hours to <a data-click-id=\"hgr-post-content-link-propagate\" href=\"\/support\/4146975-what-is-dns-propagation-at-hostinger\/\">propagate<\/a> worldwide, although most visitors are routed through the CDN within minutes.<\/p><h2 id=\"h-how-to-change-a-aaaa-or-www-records-while-hostinger-cdn-is-enabled\">How to change A, AAAA, or www records while Hostinger CDN is enabled<\/h2><p>The root and www records are locked while Hostinger CDN manages them. Disable the CDN first to point the domain elsewhere or use a custom record:<\/p><ol>\n<li>Go to <strong>Hostinger dashboard &rarr; Websites &rarr; Manage site &rarr; Performance &rarr; CDN<\/strong> and click <strong>Disable<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16192\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png\/public\" alt=\"\" width=\"1143\" height=\"376\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png\/w=1143,fit=scale-down 1143w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/li>\n<li>Wait a few minutes for the records to be restored, then edit them in the DNS zone by following <a data-click-id=\"hgr-post-content-link-how-to-manage-dns-records-at-hostinger\" href=\"\/support\/1583249-how-to-manage-dns-records-at-hostinger\/\">How to manage DNS records at Hostinger<\/a>.<\/li>\n<li>Leave the CDN disabled for that domain &mdash; enabling it again replaces the root and www records with CDN records.<\/li>\n<\/ol><p><strong>NOTES<\/strong><\/p><ul>\n<li>Keep a copy of any custom A or AAAA record for the root domain or www before enabling Hostinger CDN, since these are replaced when the CDN is enabled.<\/li>\n<li>A website that must keep a custom A record, such as one served from an external server, cannot use Hostinger CDN for that hostname.<\/li>\n<\/ul><h2 id=\"h-subdomains-and-hostinger-cdn\">Subdomains and Hostinger CDN<\/h2><p>Hostinger CDN is enabled per website in Hostinger dashboard. A <a data-click-id=\"hgr-post-content-link-subdomain\" href=\"\/support\/1583405-how-to-create-and-delete-subdomains-in-hostinger\/\">subdomain<\/a> that is added as its own website, such as shop.domain.tld, has its own CDN switch, and its records are updated when the CDN is enabled for it. Subdomains that exist only as DNS records, for example pointing to another service, are not routed through the CDN and their records are not changed.<\/p><h2 id=\"h-ssl-certificates-for-www-after-enabling-hostinger-cdn\">SSL certificates for www after enabling Hostinger CDN<\/h2><p>The CDN serves the SSL certificate for both domain.tld and www.domain.tld. Check that the www record is the CNAME managed by Hostinger &mdash; not a custom record left from an earlier setup &mdash; if www shows a certificate error after enabling the CDN, then allow time for propagation. Follow <a data-click-id=\"hgr-post-content-link-hostinger-cdn-troubleshooting-website-errors\" href=\"\/support\/hostinger-cdn-troubleshooting-website-errors\/\">Hostinger CDN: Troubleshooting website errors<\/a> and <a data-click-id=\"hgr-post-content-link-contact-support\" href=\"\/support\/1583780-how-to-contact-hostinger-support\/\">contact support<\/a> with the domain name if the error persists after 24 hours.<\/p><h2 id=\"h-what-happens-to-dns-when-hostinger-cdn-is-disabled\">What happens to DNS when Hostinger CDN is disabled<\/h2><p>Disabling the CDN restores the A, AAAA, and www records to your hosting plan&rsquo;s address. Some visitors may still be routed through the CDN or briefly see a Hostinger placeholder page instead of the website during propagation; this resolves as DNS caches expire, usually within hours. Clear the browser cache or test from another network if the placeholder persists on one device only.<\/p><h2 id=\"h-when-to-contact-hostinger-support-about-dns-and-the-cdn\">When to contact Hostinger support about DNS and the CDN<\/h2><p><a data-click-id=\"hgr-post-content-link-contact-hostinger-support\" href=\"\/support\/1583780-how-to-contact-hostinger-support\/\">Contact Hostinger support<\/a> about three DNS and CDN issues:<\/p><ul>\n<li>The CDN cannot be enabled although the domain uses Hostinger nameservers.<\/li>\n<li>Records were changed by an automatic activation and you need help restoring them.<\/li>\n<li>The website is unreachable more than 24 hours after enabling or disabling the CDN.<\/li>\n<\/ul><p>Include the domain name, the records you expect, and the time of the change while contacting the support.<\/p><p>With the root and www records managed by Hostinger CDN and everything else in your hands, DNS changes stay predictable while the CDN handles your traffic.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how enabling Hostinger CDN changes your DNS records and how to manage them safely.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[262],"tags":[],"class_list":["post-18711","post","type-post","status-publish","format-standard","hentry","category-cdn"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/18711","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\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=18711"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/18711\/revisions"}],"predecessor-version":[{"id":23822,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/18711\/revisions\/23822"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=18711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=18711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=18711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}