{"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-05-08T13:03:04","modified_gmt":"2026-05-08T13:03:04","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 class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/vps-hosting\" target=\"_blank\" rel=\"noopener\">VPS hosting<\/a>, you need to point the domain to your server&rsquo;s IP address. There are couple ways to do that, depending on where your domain is registered.<\/p><h2 id=\"h_domain_at_hostinger\">Domain purchased at Hostinger<\/h2><p class=\"no-margin\">Go to the <b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/domains\" target=\"_blank\" 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.<\/p><p class=\"no-margin\">Create two A records:<\/p><ol>\n<li>\n<p class=\"no-margin\">Find the <a class=\"intercom-content-link\" href=\"\/support\/5139756-how-to-find-vps-ip\" target=\"_blank\" rel=\"noopener\">IP address of your VPS<\/a>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Access your domain&rsquo;s <a class=\"intercom-content-link\" href=\"\/support\/1583249-how-to-manage-my-dns-records-on-hpanel\" target=\"_blank\" rel=\"noopener\">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 class=\"intercom-content-link\" href=\"\/support\/4468886-how-to-add-and-remove-a-records-in-hpanel\" target=\"_blank\" rel=\"noopener\">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><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><h2 id=\"h_domain_purchased_elsewhere\">Domain purchased elsewhere<\/h2><p class=\"no-margin\">If your domain is registered with another provider, you have two options:<\/p><h3 id=\"h_option1_a_records_registrar\">Option 1 &ndash; Create A records at your current registrar (recommended)<\/h3><p class=\"no-margin\">The simplest approach is to add two A records directly in your current domain registrar&rsquo;s DNS settings &mdash; no need to transfer anything.<\/p><ol>\n<li>\n<p class=\"no-margin\">Find the <a class=\"intercom-content-link\" href=\"\/support\/5139756-how-to-find-vps-ip\" target=\"_blank\" rel=\"noopener\">IP address of your VPS<\/a>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Log in to your domain registrar and navigate to the DNS settings for your domain.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Delete any existing <b>A, AAAA<\/b> or <b>CNAME<\/b> records for <b>@<\/b> or <b>www<\/b>.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Add these two A records:<\/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><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">Domain propagation may take up to 24 hours. For help with specific registrars, refer to this guide: <a class=\"intercom-content-link\" href=\"https:\/\/support.hostinger.com\/en\/collections\/944831-dns#managing-dns-records-at-different-registrars\" target=\"_blank\" rel=\"noopener\">Managing DNS records at different registrars<\/a>.<\/p>\n<\/div><h3 id=\"h_option2_hostinger_nameservers\">Option 2 &ndash; Point your domain to Hostinger nameservers<\/h3><p class=\"no-margin\">Use this option if you want to manage your domain&rsquo;s DNS entirely from Hostinger&rsquo;s hPanel.<\/p><p class=\"no-margin\">Go to the <b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/vps\" target=\"_blank\" 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\">Next, enter your domain name and click on <b>Add<\/b>:<\/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 domain add form with domain name field and Add button\" data-media-id=\"5446\"><\/div><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\">Here is an example of custom nameservers:<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/74b88fbf-39a8-4967-922e-0ab5e385a772.jpg\" data-media-id=\"5447\" alt=\"Hostinger domain verification popup with custom name servers fields and Close button\"><\/div><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 nameserver 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\">If you would like to learn more, please refer to this guide: <a class=\"intercom-content-link\" href=\"https:\/\/support.hostinger.com\/en\/collections\/944831-dns#managing-dns-records-at-different-registrars\" target=\"_blank\" 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":3,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1582\/revisions"}],"predecessor-version":[{"id":10298,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1582\/revisions\/10298"}],"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}]}}