{"id":1582,"date":"2019-02-08T10:35:54","date_gmt":"2019-02-08T10:35:54","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583227-how-to-point-a-domain-to-your-vps-at-hostinger\/"},"modified":"2026-03-16T12:12:18","modified_gmt":"2026-03-16T12:12:18","slug":"1583227-how-to-point-a-domain-to-your-vps-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583227-how-to-point-a-domain-to-your-vps-at-hostinger\/","title":{"rendered":"How to Point a Domain to Your VPS at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">For your domain to work with your <a href=\"https:\/\/www.hostinger.com\/vps-hosting\" target=\"_blank\" class=\"intercom-content-link\">VPS hosting<\/a>, you need to point the domain to your server&rsquo;s IP address. There are several ways to do that.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_3322b796ab\">Domain purchased at Hostinger<\/h2><p class=\"no-margin\">If you purchased the domain at Hostinger, go to the <b><a href=\"https:\/\/hpanel.hostinger.com\/domains\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Domain portfolio<\/a> <\/b>page on hPanel, click on <b>Manage<\/b> next to your domain, and select <b> DNS \/ Nameservers<\/b> from the left sidebar of the domain dashboard. And then follow these options:<\/p><p class=\"no-margin\">\n<\/p><h3 id=\"h_62cd032817\">Option 1 &ndash; Create A records <\/h3><p class=\"no-margin\">The easiest way to point your domain to your VPS is to create <b>A records<\/b>:<\/p><ol>\n<li>\n<p class=\"no-margin\">Find the <a href=\"\/support\/5139756-how-to-find-vps-ip\" target=\"_blank\" class=\"intercom-content-link\">IP address of your VPS<\/a>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Access your domain&rsquo;s <a href=\"\/support\/1583249-how-to-manage-my-dns-records-on-hpanel\" target=\"_blank\" class=\"intercom-content-link\">DNS zone<\/a>, and delete any <b>A, AAAA<\/b> or <b>CNAME<\/b> records that include <b>@<\/b>, <b>www<\/b>, or <b>cloudflare-resolve-to<\/b> in its name.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Add these two <a href=\"\/support\/4468886-how-to-add-and-remove-a-records-in-hpanel\" target=\"_blank\" class=\"intercom-content-link\">A records<\/a>:<\/p>\n<\/li>\n<\/ol><div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>A Record 1<\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>A Record 2<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\"><b>Name:<\/b> @ <\/p>\n<p class=\"no-margin\"><b>Points to:<\/b> your VPS IP address<\/p>\n<p class=\"no-margin\"><b>TTL:<\/b> default<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\"><b>Name:<\/b> www <\/p>\n<p class=\"no-margin\"><b>Points to:<\/b> your VPS IP address<\/p>\n<p class=\"no-margin\"><b>TTL<\/b>: default<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><h3 id=\"h_d0e62d4617\">Option 2 &ndash; Create A and CNAME records<\/h3><ol>\n<li>\n<p class=\"no-margin\">Find the <a href=\"\/support\/5139756-how-to-find-vps-ip\" target=\"_blank\" class=\"intercom-content-link\">IP address of your VPS<\/a>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Access your domain&rsquo;s <a href=\"\/support\/1583249-how-to-manage-my-dns-records-on-hpanel\" target=\"_blank\" class=\"intercom-content-link\">DNS zone<\/a>, and delete any <b>A, AAAA<\/b> or <b>CNAME<\/b> records that include <b>@<\/b>, <b>www<\/b>, or <b>cloudflare-resolve-to<\/b> in its name.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Add the following A record along with the <a href=\"\/support\/4738777-how-to-add-and-remove-cname-records-on-hpanel\" target=\"_blank\" class=\"intercom-content-link\">CNAME record<\/a>:<\/p>\n<\/li>\n<\/ol><div class=\"intercom-interblocks-table-container\">\n<table role=\"presentation\">\n<tbody>\n<tr>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>A Record <\/b><\/p>\n<\/td>\n<td style=\"background-color: #e3e7fa80\">\n<p class=\"intercom-align-center no-margin\"><b>CNAME Record <\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p class=\"no-margin\"><b>Name:<\/b> @ <\/p>\n<p class=\"no-margin\"><b>Points to:<\/b> your VPS IP address<\/p>\n<p class=\"no-margin\"><b>TTL:<\/b> default<\/p>\n<\/td>\n<td>\n<p class=\"no-margin\"><b>Name:<\/b> www <\/p>\n<p class=\"no-margin\"><b>Points to:<\/b> your domain name (e.g., example.com)<\/p>\n<p class=\"no-margin\"><b>TTL<\/b> default<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Remember that domain propagation may take up to 24 hours before fully pointing to the VPS.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p><h2 id=\"h_f13e1dd6d3\">Domain purchased elsewhere<\/h2><p class=\"no-margin\">If you purchased the domain elsewhere, go to the <b><a href=\"https:\/\/hpanel.hostinger.com\/vps\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">VPS<\/a> <\/b>page on hPanel, click on <b>Manage<\/b> next to your server, and select <b> DNS Manager<\/b> from the left sidebar of the VPS dashboard.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Next, enter your domain name and click on <b>Add<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/8c967626-5335-4d12-bd84-b791d19c2a4b.jpg\" alt=\"Hostinger's add domain input\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">You will be assigned custom nameservers to verify domain ownership, and you must add them to your domain provider&rsquo;s Nameservers management.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Here is an example of custom nameservers:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/74b88fbf-39a8-4967-922e-0ab5e385a772.jpg\"><\/div><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\"><b>Before you continue <\/b>&#9995; <\/p>\n<p class=\"no-margin\">The nameservers changes should be made on your domain provider&rsquo;s platform; that is, where your domain nameservers reside.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you would like to learn more, please refer to this guide:<b> <\/b><a href=\"https:\/\/support.hostinger.com\/en\/collections\/944831-dns#managing-dns-records-at-different-registrars\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Managing DNS records at different registrars<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pointing a domain to your virtual private server<\/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":[201],"tags":[],"class_list":["post-1582","post","type-post","status-publish","format-standard","hentry","category-getting-started-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583227-how-to-point-a-domain-to-your-vps-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583227-como-apuntar-un-dominio-a-tu-vps-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583227-comment-puis-je-pointer-un-domaine-vers-mon-vps-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583227-bagaimana-cara-mengarahkan-domain-ke-vps-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583227-como-apontar-um-dominio-para-vps-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583227-----vps-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1582","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=1582"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1582\/revisions"}],"predecessor-version":[{"id":5451,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1582\/revisions\/5451"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}