{"id":1123,"date":"2020-12-22T12:21:22","date_gmt":"2020-12-22T12:21:22","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2020\/12\/22\/4741545-how-to-use-cloudflare-in-hostinger\/"},"modified":"2025-10-02T08:14:44","modified_gmt":"2025-10-02T08:14:44","slug":"4741545-how-to-use-cloudflare-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/4741545-how-to-use-cloudflare-in-hostinger\/","title":{"rendered":"How to set up Cloudflare for a domain hosted on Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Cloudflare is a content delivery network (CDN) that can help increase your website&rsquo;s loading speed by storing copies of your website on their servers distributed across the globe while also providing DDoS protection for your domain.<\/p><p class=\"no-margin\">If you want to start using Cloudflare with your domain, follow the steps below:<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #d7efdc80;border-color: #1bb15733\">\n<p class=\"no-margin\">It is recommended to have only one CDN enabled at a time &ndash; If you&rsquo;re currently using a different CDN, such as <a class=\"intercom-content-link\" href=\"\/support\/7935917-hostinger-cdn-website-optimization\" target=\"_blank\" rel=\"noopener\">Hostinger CDN<\/a>, make sure to disable it before activating Cloudflare &#128161;<\/p>\n<\/div><ol>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"https:\/\/dash.cloudflare.com\/sign-up\" target=\"_blank\" rel=\"noopener\">Create a Cloudflare account<\/a><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Click on <b>Add site <\/b>and enter your domain name to add it to Cloudflare:<\/p>\n<div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/5b725c5d-3146-44ff-8e12-0e48a4b03e2b.jpg\"><\/div>\n<p class=\"no-margin\">\n<\/p><\/li>\n<li>\n<p class=\"no-margin\">Select a plan: There is a <b>free <\/b>option available &ndash; it covers all basic needs for the majority of websites<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Review the DNS records: Cloudflare will automatically import most of your existing DNS records and alert you if there are any issues. You can add additional records now or later. Make sure the A record for your root domain points to <a class=\"intercom-content-link\" href=\"\/support\/4407303-where-can-i-find-a-record\" target=\"_blank\" rel=\"noopener\">your account&rsquo;s IP<\/a> address. Once all required records are correct, proceed to the next step.<\/p>\n<\/li>\n<li>Cloudflare will generate a pair of custom nameservers for your domain. Copy them and update the nameservers in <a href=\"https:\/\/www.hostinger.com\/support\/1696789-how-to-change-nameservers-at-hostinger\">your domain&rsquo;s DNS settings<\/a>.<\/li>\n<\/ol><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2020\/12\/0d9cd85f-6881-4a7b-9adb-6b83d7d2ceb1.jpg\"><\/div><p data-start=\"118\" data-end=\"216\">After updating your DNS records, <a class=\"intercom-content-link\" href=\"\/support\/4146975-what-is-dns-propagation\" target=\"_blank\" rel=\"noopener\">propagation<\/a> will begin and may take up to 24 hours to complete.<\/p><p data-start=\"224\" data-end=\"360\">Once your DNS zone is set up in Cloudflare, check for any records that were not imported automatically and <a href=\"https:\/\/www.hostinger.com\/support\/4410549-how-to-manage-dns-zone-at-cloudflare\">add them manually<\/a>, such as:<\/p><ul data-start=\"363\" data-end=\"527\">\n<li data-start=\"363\" data-end=\"425\">The A records subdomains pointing to <a class=\"intercom-content-link\" href=\"\/support\/4407303-where-can-i-find-a-record\" target=\"_blank\" rel=\"noopener\">your account&rsquo;s IP<\/a><\/li>\n<\/ul><ul>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"\/support\/4407237-where-can-i-find-mx-records\" target=\"_blank\" rel=\"noopener\">MX records<\/a> for email delivery<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><a class=\"intercom-content-link\" href=\"\/support\/4456413-how-to-add-dkim-records-for-emails-at-hostinger\" target=\"_blank\" rel=\"noopener\">DKIM records<\/a> for improved email authentication<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">That&rsquo;s it, your domain is now using Cloudflare CDN. From now on, make sure to manage and update DNS records directly in Cloudflare.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enable Cloudflare for free and protect your domain<\/p>\n","protected":false},"author":581,"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-1123","post","type-post","status-publish","format-standard","hentry","category-cdn"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/4741545-how-to-use-cloudflare-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/4741545-como-empezar-a-utilizar-cloudflare-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/4741545-comment-commencer-a-utiliser-cloudflare-at-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/4741545-cara-mengarahkan-domain-ke-cloudflare-at-hostinger\/","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/4741545-kaip-nukreipti-domena-i-cloudflare-hostinger-platformoje\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/4741545-como-usar-a-cloudflare-at-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/4741545---cloudflare--hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1123","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\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1123"}],"version-history":[{"count":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1123\/revisions"}],"predecessor-version":[{"id":5947,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1123\/revisions\/5947"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}