Configuring Droplet Hostname, /etc/hosts, /etc/hostname
I own xyz.net
Droplet Hostname: lmt.xyz.net
127.0.0.1 localhost localhost.localdomain
[public IP xx.xx.xx.xx] lmt.xyz.net lmt
A record 1: @ [public IP xx.xx.xx.xx]
CNAME record 1: * xyz.net.
CNAME record 2: www xyz.net.
Is the above setup correct?
Note: i DO NOT use the sub-domain [lmt.xyz.net] at all in serving my website.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.