{"id":7590,"date":"2026-01-29T17:17:37","date_gmt":"2026-01-29T17:17:37","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=7590"},"modified":"2026-09-02T07:10:24","modified_gmt":"2026-09-02T07:10:24","slug":"how-to-redirect-a-domain-to-hostinger-ai-builder","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-redirect-a-domain-to-hostinger-ai-builder\/","title":{"rendered":"Hostinger AI Builder: How to redirect a domain via Cloudflare"},"content":{"rendered":"<p data-start=\"111\" data-end=\"352\">If you have a website created with <strong data-start=\"146\" data-end=\"175\">Hostinger AI Builder<\/strong> and you want your domain to automatically open a different domain (for example, redirect <code data-start=\"265\" data-end=\"281\">yourdomain.com<\/code> to <code data-start=\"285\" data-end=\"300\">newdomain.com<\/code>), you can set up the redirect using <strong data-start=\"337\" data-end=\"351\">Cloudflare&rsquo;s Page Rules<\/strong>.<\/p><p data-start=\"354\" data-end=\"500\">Since redirects for <strong data-start=\"374\" data-end=\"402\">AI Builder websites<\/strong> need to be created externally, Cloudflare is a simple way to make the redirection work correctly.<\/p><h2 data-start=\"354\" data-end=\"500\" id=\"h-how-to-set-it-up\">How to set it up?<\/h2><ol>\n<li data-start=\"463\" data-end=\"575\">Go to <a href=\"https:\/\/dash.cloudflare.com\/sign-up\" target=\"_blank\" rel=\"noopener\">Cloudflare<\/a> and create a free account if you don&rsquo;t have one yet.<\/li>\n<li data-start=\"463\" data-end=\"575\">Once logged in,<strong> <a href=\"https:\/\/www.hostinger.com\/support\/6865646-how-to-point-a-domain-to-hostinger-ai-builder-via-cloudflare\/\">add your domain to Cloudflare<\/a> <\/strong>and follow the onboarding steps. Cloudflare will scan your DNS records automatically, so you can confirm everything looks correct before continuing.<\/li>\n<li data-start=\"463\" data-end=\"575\">After Cloudflare gives you the new nameservers, update them in your domain settings (where your domain is registered). Once the nameservers are updated, Cloudflare will be <strong>managing your domain&rsquo;s DNS<\/strong>. Now, make sure <strong>your domain is correctly connected to Hostinger AI Builder so it opens your website normally. <\/strong>If you want to <a href=\"https:\/\/www.hostinger.com\/support\/11178439-hostinger-ai-builder-change-domain\/\">change the domain<\/a> connected to your website, do this before setting up the redirect.<\/li>\n<li data-start=\"463\" data-end=\"575\">In your Cloudflare dashboard, open your domain and <strong><a href=\"https:\/\/support.cloudflare.com\/hc\/en-us\/articles\/4729826525965-Configuring-URL-forwarding-or-redirects-with-Page-Rules\" target=\"_blank\" rel=\"noopener\">create a redirect rule<\/a> <\/strong>to send visitors to the destination domain you want.<br>\nPage Rules require <strong>a proxied DNS record<\/strong> to work. You can enable the proxy by toggling the<strong> Proxy status<\/strong> switch to <strong>Proxied<\/strong>.<\/li>\n<\/ol><div class=\"intercom-interblocks-callout\" style=\"background-color: #b2f2b280;border-color: #a0e4a033\">For example: If someone opens <code data-start=\"1392\" data-end=\"1408\">yourdomain.com<\/code>, they will automatically be redirected to <code data-start=\"1451\" data-end=\"1466\">newdomain.com<\/code>.<\/div><p data-start=\"1469\" data-end=\"1550\">And that&rsquo;s it. <strong>Your domain will now redirect through Cloudflare successfully!<\/strong><\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">If your domain is connected to a AI Builder website, make sure the website is published so visitors can access it properly.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Redirect a domain to another domain using Cloudflare for your Hostinger AI Builder website.<\/p>\n","protected":false},"author":591,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[293],"tags":[],"class_list":["post-7590","post","type-post","status-publish","format-standard","hentry","category-ai-builder"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/how-to-redirect-a-domain-to-hostinger-website-builder","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7590","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\/591"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=7590"}],"version-history":[{"count":10,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7590\/revisions"}],"predecessor-version":[{"id":17765,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/7590\/revisions\/17765"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=7590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=7590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=7590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}