This is to manually change the system so it understands the hosts name and fqdn or the host.
1- Edit the hosts file
- sudo nano /etc/hosts
- change the second 127.0.0.1 hostname to 127.0.0.1 name.domain.com name
- close and save the file
2- Edit the hostname file
- sudo nano /etc/hostname
- remove the single line of text and replace it with just the host name (without the domain.com)
3- Reboot your system