ubuntu - How to correctly set hostname and domain name

When the domain purchase operation is complete, your app can be accessed at the selected hostnames. If the app is behind Azure Traffic Manager, you don't see the option to assign the root domain (@), because Traffic Manager does not support A records. You can make changes to the hostname assignments after the domain purchase completes. How to Set & Change Hostname & FQDN (Fully Qualified Jun 21, 2020 hostname: show or set the system's host name - Linux Man

When the domain purchase operation is complete, your app can be accessed at the selected hostnames. If the app is behind Azure Traffic Manager, you don't see the option to assign the root domain (@), because Traffic Manager does not support A records. You can make changes to the hostname assignments after the domain purchase completes.

Below the list of connections, enter a host name for this computer in the Hostname input field. The host name can be either a fully-qualified domain name (FQDN) in the format hostname.domainname or a short host name in the format hostname.Many networks have a Dynamic Host Configuration Protocol (DHCP) service that automatically supplies connected systems with a domain name. Hostname or subdomain? - Server Fault

Go to the DNS Management page.; On the DNS Management page, under the Advanced Features section, click Host names.; Click Add.; Enter the Hostname and Host IP Address you want to use.; Note: You don't have to type the domain name in the Hostname field; it will populate for you: Click Save.. After creating your own nameservers, you need to set them for domains registered with GoDaddy.

Enter the Hostname and Host IP Address you want to use. Note: You don't have to type the domain name in the Hostname field; it will populate for you: Click Save. After creating your own nameservers, you need to set them for domains registered with GoDaddy.