How to Link a Domain to Vultr Server

In this article you will learn how to link a domain to Vultr server. So, you can connect to it using a domain name rather than it’s IP address.

We will be using Namecheap domain name registrar in this article. However, the process doesn’t differ so much from one provider to another. Therefore, if you are using different registrar, you can follow the same steps, as the principle is also the same.

We very recommend Namecheap. If you are looking for a domain name, we encourage you to get it from Namecheap. Since, it offers excellent support, it has very great reputation and provide user friendly control panel.

At First, dealing with domain names seems confusing, with all the new strange terms like “CNAME” and “A Record” and others. However, it just seems more difficult than what really is. In fact, linking a domain name to your server is extremely easy as you will see in the following steps:

1- Get your Vultr server IP address

Log in to your Vultr account and navigate to your instances. Get the IP address of your server, as in the image below.

Getting Vultr server IP address

Copy your server’s IP address to the clipboard and proceed to the next step.

2- Set “A Record”

Log in to your domain name registrar account and open your domain name management page where you can find Host Records table. Namecheap has it located under Advanced DNS tab.

Namecheap's host records table

You, as owner, can add, edit or remove any of your DNS Host Records. So, you need to remove all existing Host Records, eventually you are going to add new. Keep in mind, that most of domain name providers does not allow you to remove all the records, leaving the table empty. In this situation, you can add your new record before removing previous ones.

Without further ado, add new record now and select “A Record” as it’s type. “A Record” stands for “Address Record”, and this is where you are going to put your server’s IP address. When you add your new “A Record” you need to fill three fields, as follows:

  • Host: Type @ to specify that this record correspond to the root domain and not for any subdomain
  • Value: Enter your server’s IP address.
  • TTL: It is recommended to keep it as default, TTL stands for Time To Live, which correspond to how long DNS servers should keep this record in cache. You don’t need to set it manually, since, your domain registrar defaults should have the most optimized setting.

3- Set “CNAME Record”

“CNAME Record” stands for “Canonical Name”. It helps to make a DNS rule to redirect a subdomain to the root domain. For example, if a user typed ( rather than ( Setting this record will help redirect him to your root domain (

Repeating the same process form the last step. Add new record, but this time choose the type “CNAME Record” and fill the fields like the following:

  • Host: Type www to specify that this record correspond to the subdomain (e.g. and not for your root domain.
  • Value: Type your root domain plus a full stop at the end (e.g. to redirect visitors to root domain. The reason of the period at the end is because that your root domain is just a subdomain for the root Domain Name System.
  • TTL: Again, it is recommended to keep it as default. However, you can set it a value ranging form 5 mins to 30 mins for this record.

4- Give it a test

There is a misconception that DNS changes take very long time to update, but most of the time DNS servers worldwide will be updated with your new host records in matter of minutes, or may be in fraction of a second.

Connect to your server using your domain to test it out. For example, type:

$ ssh


$ ssh

In both examples, if you logged in successfully to your server, congratulations, you had set a domain name for your Vultr server. And now you know how to link a domain to Vultr server.

If you want to learn how to setup a Vultr server read this article.

Other articles you may find interesting

managed vs unmanaged switches
In general, network switches are the main building block of wired computer networks. It’s the networking hardware that connects other…
Read More
how to turn ESP32 into NAT router repeater
ESP32 development board can be used as WiFi router/repeater with NAT(Network Address Translation), thanks to martin-ger, who developed this great…
Read More
turn any website into separate native application
As a Windows user, I do most of my work on my PC using a browser, not because I prefer…
Read More
how to transfer files remotely via SSH
SSH or Secure Shell is a protocol that allows a secure connection to the remote computer. There are multiple methods…
Read More
Secure Shell supports various authentication mechanisms. The two most used methods are: Password based authenticationPublic SSH key authentication In this…
Read More
Secure Shell (SSH) is a cryptographic network protocol for operating network services securely such as login, remote command-line execution, and…
Read More


Leave a Reply

Your email address will not be published. Required fields are marked *