{"id":16221,"date":"2026-08-20T03:15:24","date_gmt":"2026-08-20T03:15:24","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=16221"},"modified":"2026-08-20T03:17:50","modified_gmt":"2026-08-20T03:17:50","slug":"hostinger-cdn-troubleshooting-website-errors","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/hostinger-cdn-troubleshooting-website-errors\/","title":{"rendered":"Hostinger CDN: Troubleshooting website errors"},"content":{"rendered":"<p>Website errors with Hostinger CDN enabled, such as 403, 408, 500, 502, 503, or 504, are fixed by locating the source of the error first. Most errors are generated by the website itself and only delivered through the Content Delivery Network (CDN). To resolve them, identify where the error comes from, clear the cache, and isolate the cause using Development mode.<\/p><h3>Before you start<\/h3><ul>\n<li>Confirm that <a href=\"https:\/\/www.hostinger.com\/support\/7935917-hostinger-cdn-website-optimization\/\">Hostinger CDN is enabled<\/a> for the affected website. Go to <strong>hPanel &rarr; Websites<\/strong>, click <strong>Dashboard<\/strong> next to the website, and check the status under <strong>Performance &rarr; CDN<\/strong>. For Agency hosting, select CDN directly on the left sidebar.<\/li>\n<li>Hostinger CDN does not cache error responses, so fixing the underlying issue makes the error disappear for visitors immediately.<\/li>\n<\/ul><h2 id=\"h-identify-whether-the-error-comes-from-hostinger-cdn-or-your-website\">Identify whether the error comes from Hostinger CDN or your website<\/h2><p>Every response delivered through Hostinger CDN includes the <code>`x-hcdn-request-id`<\/code> response header. To check it:<\/p><ol>\n<li>Open the failing page in a browser.<\/li>\n<li>Open the browser developer tools (F12) and select the <strong>Network<\/strong> tab.<\/li>\n<li>Reload the page and click the first request in the list.<\/li>\n<li>Check the <strong>Response Headers<\/strong> section.\n<ul>\n<li>If the <code>`x-hcdn-request-id`<\/code> header is present, the response was delivered through Hostinger CDN. The header value identifies the exact request, for example <code>`7f3a1c...-us-phx-edge2`<\/code>.<\/li>\n<li>If the header is missing, the request did not go through Hostinger CDN. In that case, the error comes directly from the website or from another proxy service, such as Cloudflare.<\/li>\n<\/ul>\n<\/li>\n<\/ol><p>The <code>`x-hcdn-cache-status`<\/code> header shows how the CDN handled the content: <strong>HIT<\/strong> (served from cache), <strong>MISS<\/strong> (fetched from your website), <strong>EXPIRED<\/strong> (cached copy expired and fetched again), <strong>DYNAMIC<\/strong> (not cacheable), <strong>BYPASS<\/strong> (cache skipped), or <strong>REVALIDATED<\/strong> (refreshed content).<\/p><p><strong>NOTE<\/strong><\/p><ul>\n<li>Copy the full <code>`x-hcdn-request-id`<\/code> value when reporting a problem. The request ID lets Hostinger locate the exact request in the logs.<\/li>\n<\/ul><h2 id=\"h-fix-common-http-errors-with-hostinger-cdn\">Fix common HTTP errors with Hostinger CDN<\/h2><p>There are five common error groups on websites using Hostinger CDN: 403, 408, 500, 502\/503, and 504.<\/p><h3>403 Forbidden with Hostinger CDN<\/h3><p>A <a href=\"https:\/\/www.hostinger.com\/support\/1583304-how-to-fix-a-403-forbidden-error-at-hostinger\/\">403 error<\/a> from Hostinger CDN usually means the request was blocked by a security feature. Check these settings in the CDN dashboard:<\/p><ol>\n<li>Open <strong>Performance<\/strong> &rarr; <strong>CDN<\/strong> and click <strong>Manage<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16191\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21.png\" alt=\"\" width=\"1132\" height=\"392\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21.png 1132w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21-300x104.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21-1024x355.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21-768x266.png 768w\" sizes=\"(max-width: 1132px) 100vw, 1132px\" \/><\/li>\n<li>In the <strong>Traffic blocking<\/strong> tab, review <a href=\"https:\/\/www.hostinger.com\/support\/7930807-hostinger-cdn-how-to-block-ips\/\"><strong>IP<\/strong> <\/a>and <a href=\"https:\/\/www.hostinger.com\/support\/7931101-hostinger-cdn-how-to-block-countries\/\"><strong>country<\/strong> <\/a>blocking rules. Remove rules that cover your visitors or services.<\/li>\n<li>In the <strong>Security<\/strong> tab, try a lower <a href=\"https:\/\/www.hostinger.com\/support\/10695636-hostinger-cdn-security-levels\/\"><strong>security level<\/strong><\/a> if legitimate visitors are blocked.<\/li>\n<\/ol><p>Follow the guide <a href=\"https:\/\/www.hostinger.com\/support\/hostinger-cdn-how-to-fix-blocked-legitimate-requests\/\">Hostinger CDN: How to fix blocked legitimate requests<\/a> if forms, logins, or API requests return 403.<\/p><h3>408 and 504 timeout errors with Hostinger CDN<\/h3><p>A 504 error means your website did not respond in time, and the CDN gave up waiting. Common causes are slow database queries, heavy plugins, or exhausted PHP workers on the hosting plan. A 408 error is different: the visitor&rsquo;s connection was too slow to deliver the complete request, which usually indicates a network issue on the visitor&rsquo;s side. For 504 errors:<\/p><ol>\n<li>Check your hosting <a href=\"https:\/\/www.hostinger.com\/support\/2436138-how-to-check-resource-usage-in-hostinger\/\">resource usage<\/a> in <strong>hPanel &rarr; Websites &rarr; Dashboard &rarr; Performance.<\/strong><\/li>\n<li>Temporarily <a href=\"https:\/\/www.hostinger.com\/support\/4411258-how-to-disable-wordpress-plugins-without-access-to-the-admin-page-at-hostinger\/\">deactivate recently added WordPress plugins<\/a> or heavy page builders.<\/li>\n<li>Retry the page after each change.<\/li>\n<\/ol><h3>500 Internal Server Error with Hostinger CDN<\/h3><p>A <a href=\"https:\/\/www.hostinger.com\/support\/1583187-how-to-fix-500-internal-server-error-at-hostinger\/\">500 error<\/a> usually comes from the website application, and Hostinger CDN forwards it to the visitor. Check the website error logs and recent code or plugin changes. An application-caused 500 error also appears with the CDN disabled, which the isolation steps below confirm.<\/p><h3>502 and 503 errors with Hostinger CDN<\/h3><p>502 and <a href=\"https:\/\/www.hostinger.com\/support\/3417446-how-to-fix-the-503-error-at-hostinger\/\">503 errors<\/a> indicate that your website was temporarily unreachable or overloaded. These errors often resolve on their own within minutes. If a 502 or 503 error persists, continue with the isolation steps below.<\/p><h2 id=\"h-isolate-the-cause-with-development-mode\">Isolate the cause with Development mode<\/h2><p>Development mode makes Hostinger CDN fetch every request directly from your website, skipping the cache:<\/p><ol>\n<li>Go to <strong>hPanel &rarr; Websites &rarr; Dashboard &rarr; Performance &rarr; CDN<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16170\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_08-28.png\" alt=\"\" width=\"266\" height=\"667\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_08-28.png 266w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_08-28-120x300.png 120w\" sizes=\"(max-width: 266px) 100vw, 266px\" \/><\/li>\n<li>Enable <strong>Development mode<\/strong>.<img decoding=\"async\" class=\"alignnone size-full wp-image-16195\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-22.png\" alt=\"\" width=\"1190\" height=\"372\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-22.png 1190w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-22-300x94.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-22-1024x320.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-22-768x240.png 768w\" sizes=\"(max-width: 1190px) 100vw, 1190px\" \/><\/li>\n<li>Reload the failing page in an incognito browser window.<\/li>\n<\/ol><p>If the error disappears, <a href=\"https:\/\/www.hostinger.com\/support\/hostinger-cdn-how-to-clear-the-cache\/\">flush the CDN cache<\/a>: click <strong>Flush cache<\/strong> in the CDN section, then disable<strong> Development mode<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16211\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-39.png\" alt=\"\" width=\"1173\" height=\"366\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-39.png 1173w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-39-300x94.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-39-1024x320.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-39-768x240.png 768w\" sizes=\"(max-width: 1173px) 100vw, 1173px\" \/><br>\nIf the error persists in <strong>Development mode<\/strong>, clear the remaining cache layers &mdash; the LiteSpeed server cache in <a href=\"https:\/\/www.hostinger.com\/support\/6215624-how-to-use-cache-manager-at-hostinger\/\">Cache Manager<\/a> and any WordPress caching plugin &mdash; before concluding that the website application is at fault. Development mode affects Hostinger CDN caching only.<\/p><h2 id=\"h-temporarily-disable-hostinger-cdn-to-confirm-the-source\">Temporarily disable Hostinger CDN to confirm the source<\/h2><p>Disabling the CDN entirely removes it from the equation:<\/p><ol>\n<li>Go to <strong>hPanel &rarr; Websites &rarr; Dashboard &rarr; Performance &rarr; CDN.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16170\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_08-28.png\" alt=\"\" width=\"266\" height=\"667\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_08-28.png 266w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_08-28-120x300.png 120w\" sizes=\"(max-width: 266px) 100vw, 266px\" \/><br>\n<\/strong><\/li>\n<li>Click <strong>Disable<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-16192\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png\" alt=\"\" width=\"1143\" height=\"376\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1.png 1143w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1-300x99.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1-1024x337.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-20_09-21_1-768x253.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/li>\n<li>Wait a few minutes for DNS changes to take effect, then test the page again.<\/li>\n<\/ol><p>If the error still appears with Hostinger CDN disabled, the cause is the website or hosting environment. If the error only appears with the CDN enabled, re-enable it and contact Hostinger support with the URL, the time of the error, and the <code>`x-hcdn-request-id`<\/code> value from the failing response.<\/p><h2 id=\"h-fix-redirect-loops-with-hostinger-cdn\">Fix redirect loops with Hostinger CDN<\/h2><p>The <a href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-fix-err-too-many-redirects\/\">ERR_TOO_MANY_REDIRECTS<\/a> error with Hostinger CDN has two common causes.<\/p><ul>\n<li>First, another proxy service such as Cloudflare is active at the same time &mdash; only one CDN should be enabled for a website, so disable one of them.<\/li>\n<li>Second, a manual redirect in the `.htaccess` file or in WordPress settings conflicts with the HTTPS redirect. Review redirect rules one by one and remove the conflicting rule.<\/li>\n<\/ul><p>Also confirm your DNS settings: the domain `domain.tld` must use <a href=\"https:\/\/www.hostinger.com\/support\/1863967-how-to-point-a-domain-to-hostinger\/\">Hostinger nameservers<\/a>, and the A record must not be changed manually while the CDN is enabled. Changing A, AAAA, or www CNAME records requires disabling the CDN first.<\/p><p>After following these steps, the error source is identified and resolved, or you have the exact request ID that lets Hostinger support investigate quickly. Your visitors reach the website through Hostinger CDN as soon as the underlying issue is fixed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Identify and fix 403, 408, 500, 502, 503, and 504 errors on websites using Hostinger CDN<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[262],"tags":[],"class_list":["post-16221","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\/16221","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=16221"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/16221\/revisions"}],"predecessor-version":[{"id":16223,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/16221\/revisions\/16223"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=16221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=16221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=16221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}