{"id":554,"date":"2024-02-05T14:08:58","date_gmt":"2024-02-05T14:08:58","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2024\/02\/05\/8907694-how-to-create-a-subdomain-without-a-hosting-plan-at-hostinger\/"},"modified":"2026-02-11T07:34:29","modified_gmt":"2026-02-11T07:34:29","slug":"8907694-how-to-create-a-subdomain-without-a-hosting-plan-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/8907694-how-to-create-a-subdomain-without-a-hosting-plan-at-hostinger\/","title":{"rendered":"How to point a subdomain from Hostinger to an external server"},"content":{"rendered":"<p data-start=\"65\" data-end=\"233\">If you have a domain name at Hostinger and want to use a subdomain with an external service, you can create a DNS record to point that subdomain to the external server.<\/p><p data-start=\"235\" data-end=\"338\">This setup allows visitors to access your external service using a subdomain such as <code data-start=\"320\" data-end=\"337\">shop.domain.tld<\/code>.<\/p><h2 data-start=\"345\" data-end=\"364\" id=\"h-before-you-start\">Before you start<\/h2><p data-start=\"366\" data-end=\"388\">This guide applies if:<\/p><ul data-start=\"390\" data-end=\"543\">\n<li data-start=\"390\" data-end=\"451\">\n<p data-start=\"392\" data-end=\"451\">You purchased a domain at Hostinger without a hosting plan.<\/p>\n<\/li>\n<li data-start=\"452\" data-end=\"493\">\n<p data-start=\"454\" data-end=\"493\">Your domain uses Hostinger nameservers.<\/p>\n<\/li>\n<li data-start=\"494\" data-end=\"543\">\n<p data-start=\"496\" data-end=\"543\">The subdomain will be hosted outside Hostinger.<\/p>\n<\/li>\n<\/ul><p data-start=\"545\" data-end=\"748\">If you have a hosting plan at Hostinger and want to host a website on a subdomain, create the subdomain in hPanel following this guide: <a href=\"https:\/\/www.hostinger.com\/support\/1583405-how-to-create-and-delete-subdomains-in-hostinger\/\"><strong data-start=\"673\" data-end=\"687\">Sow to create a subdomain in Hostinger<\/strong><\/a>&nbsp;instead. In that case, DNS is configured automatically.<\/p><h2 data-start=\"755\" data-end=\"799\" id=\"h-create-the-subdomain-dns-record-in-hpanel\">Create the subdomain DNS record in hPanel<\/h2><ol>\n<li data-start=\"804\" data-end=\"821\">Log in to hPanel.<\/li>\n<li data-start=\"825\" data-end=\"843\">Go to the <b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/domains\" target=\"_blank\" rel=\"noopener\">Domains<\/a><\/b><strong data-start=\"831\" data-end=\"842\">&nbsp;<\/strong>section.<\/li>\n<li data-start=\"847\" data-end=\"865\">Click on <strong>Manage<\/strong> next to the domain name<\/li>\n<li data-start=\"869\" data-end=\"896\">Go to <strong data-start=\"874\" data-end=\"895\">DNS \/ Nameservers <\/strong>on the left sidebar<\/li>\n<li data-start=\"900\" data-end=\"921\">Add the required DNS records.<\/li>\n<\/ol><p data-start=\"923\" data-end=\"1000\">The record type and values depends on the information provided by your external service.<\/p><h2 id=\"h_4ffb57a13d\">Option 1 &ndash; IP Address<\/h2><p data-start=\"1088\" data-end=\"1163\">Use an <strong data-start=\"1095\" data-end=\"1107\">A record<\/strong> if the external provider gives you a server IP address.<\/p><p data-start=\"1165\" data-end=\"1185\">Add the record with:<\/p><div class=\"intercom-interblocks-table-container\">\n<ul>\n<li data-start=\"1189\" data-end=\"1202\"><strong data-start=\"1189\" data-end=\"1197\">Type<\/strong>: A<\/li>\n<li data-start=\"1205\" data-end=\"1284\"><strong data-start=\"1205\" data-end=\"1213\">Host<\/strong>: The subdomain name only (for example, <code data-start=\"1253\" data-end=\"1259\"><code>shop<\/code><\/code>)<\/li>\n<li data-start=\"1287\" data-end=\"1330\"><strong data-start=\"1287\" data-end=\"1300\">Points to<\/strong>: The destination IP address<\/li>\n<li data-start=\"1333\" data-end=\"1367\"><strong data-start=\"1333\" data-end=\"1340\">TTL<\/strong>: Leave the default value<\/li>\n<\/ul>\n<p data-start=\"1369\" data-end=\"1427\">This connects the subdomain directly to a specific server.<\/p>\n<\/div><h2 id=\"h_4ba8898004\">Option 2 &ndash; CNAME<\/h2><p data-start=\"1478\" data-end=\"1589\">Use a <strong data-start=\"1484\" data-end=\"1500\">CNAME record<\/strong> if the external provider gives you a domain name (for example, <code data-start=\"1564\" data-end=\"1587\">example.otherhost.com<\/code>).<\/p><p data-start=\"1591\" data-end=\"1611\">Add the record with:<\/p><ul>\n<li data-start=\"1615\" data-end=\"1632\"><strong data-start=\"1615\" data-end=\"1623\">Type<\/strong>: CNAME<\/li>\n<li data-start=\"1635\" data-end=\"1692\"><strong data-start=\"1635\" data-end=\"1643\">Host<\/strong>: The subdomain name only (for example, <code data-start=\"1683\" data-end=\"1689\">shop<\/code>)<\/li>\n<li data-start=\"1695\" data-end=\"1739\"><strong data-start=\"1695\" data-end=\"1708\">Points to<\/strong>: The destination domain name<\/li>\n<li data-start=\"1742\" data-end=\"1776\"><strong data-start=\"1742\" data-end=\"1749\">TTL<\/strong>: Leave the default value<\/li>\n<\/ul><p data-start=\"1778\" data-end=\"1831\">This makes your subdomain an alias of another domain.<\/p><h3 data-start=\"1838\" data-end=\"1866\">After creating the record<\/h3><p data-start=\"1868\" data-end=\"1919\">Once the DNS record is saved, <b><a class=\"intercom-content-link\" href=\"\/support\/4146975-what-is-dns-propagation\" target=\"_blank\" rel=\"noopener\">propagation<\/a><\/b> begins.&nbsp;DNS changes can take up to 24 hours to fully apply, although they often update sooner.<\/p><p data-start=\"2009\" data-end=\"2139\">If you are checking the subdomain shortly after making changes, use a private or incognito browser window to avoid cached results.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li data-start=\"2168\" data-end=\"2256\">Creating a DNS record points the subdomain but does not create website files or hosting.<\/li>\n<li data-start=\"2168\" data-end=\"2256\">If your domain uses external nameservers, manage DNS records with that provider instead of Hostinger.<\/li>\n<li data-start=\"2363\" data-end=\"2482\">Follow any additional DNS instructions provided by your external service, such as adding TXT or MX records if required.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to create a subdomain if you only have a domain name at Hostinger<\/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":[267],"tags":[],"class_list":["post-554","post","type-post","status-publish","format-standard","hentry","category-domains-hpanel"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/8907694-how-to-create-a-subdomain-without-a-hosting-plan-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/8907694-como-crear-un-subdominio-sin-un-plan-de-hosting\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/8907694-como-criar-um-subdominio-sem-ter-um-plano-de-hospedagem-na-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/554","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=554"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/554\/revisions"}],"predecessor-version":[{"id":7950,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/554\/revisions\/7950"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}