Create a fully qualified domain for CentOS 7

Reading Time: 2 minutes

Today, I will show you how to create a fully qualified domain (FQDN). 

What is FQDN?

fully qualified domain name (FQDN) is the complete domain name for a specific computer, or host, on the internet. The FQDN consists of two parts: the hostname and the domain name. 

In our case, this will be webcloud.cityescape.ph. It was created during our Droplet creation in Digital Ocean (DO). If you somehow forgot your hostname. You may run this command below:

hostname
image-32 Create a fully qualified domain for CentOS 7

How to assign IP address to your FQDN?

Simply, go to your name server provider (most cases, this is your domain provider) and have them point your hostname to your Droplet IP address.

For example, I will point webcloud.cityescape.ph to my Droplet IP address found in your Droplet details:

image-33 Create a fully qualified domain for CentOS 7

On your DNS settings, you should have something like this below:

image-34 Create a fully qualified domain for CentOS 7

If you have challenge, it would be best to consult your domain provider and have them add the expected records for you instead. 

Once completed, let these records to propagate over the internet, and this should work after propagation period depending on your name server provider. In my case, this can take 2 to 4 hours.

One way to see these changes is by using https://toolbox.googleapps.com/apps/dig/

image-35 Create a fully qualified domain for CentOS 7

Yes! Great job and from here, we should be ready for installing your Centos Web Panel (CWP).

Was this post helpful?

Leave a Reply