40 Configure A Domain Name Linux Update

This article contains clear step by step instructions on how you can configure a domain name for your linode vps.
Configure a domain name linux. A hostname show or set the system s host name b domainname show or set the system s nis yp domain name c dnsdomainname show the system s dns domain name d nisdomainname show or set system s nis yp domain name e ypdomainname show or set the system s nis yp domain name. Usually the hosts file is parsed before dns or nis so it is most common to change the fqdn in etc hosts. A both linux unix comes with the following utilities to display hostname domain name.
Please note that you must have properly configured dns server to work fqdn based hostname. The dns domain name system is a naming system for computers the service that does that is the dns server which translates an ip address to a human readable address this process is the backbone of the internet and a very important service in your server so from that point we will discuss dns server or specifically linux dns server and how to install configure and maintain it. You can check the fqdn using hostname fqdn or the domain name using dnsdomainname.
We will walk you through steps that need to be taken to the setup domain name on your linux server. Domain name server dns configuration and administration. The dns domain name is the part after the first dot.
List of linux troubleshooting commands tools part 1. Type following command and click on dns tab setup hostname and domain name. First of all check if your server is having domain name already set up or not using below command.
It is usually the hostname followed by the dns domain name the part after the first dot. Therefore it depends on the configuration of the resolver usually in etc host conf how you can change it. At my place of employment we are using linux as a dns server.
It performs exceptionally well. For such a scenario you have to configure the domain name for your linux server. It is usually the hostname followed by the dns domain name the part after the first dot.