I puchased a domain, say fireworks.com, and I would like to call my server ubuntu-18-04.
How am I expected to edit /etc/hosts?
Is it possible to add multiple aliases as follows?
127.0.0.1 localhost
127.0.1.1 ubuntu-18-04.fireworks.com fireworks.com ubuntu-18-04
5.247.221.66 ubuntu-18-04.fireworks.com fireworks.com ubuntu-18-04
Usually in documentation the /etc/hosts format has only three records:
1. An IP address
2. A fqdn
3. The hostname
Is it possible (and necessary?) to add a fourth record, as in my previous example, including fireworks.com? I would like to receive mail as [email protected] other than as [email protected]