localhost.localdomain

During the instalation of a system, I didn't set the the name of the machine. So it was set to the default of localhost.localdomain. So I did the command;

hostname fileserver.mydomain

However, I am not sure if that is all that I have to do. I pico into /etc/hosts and it still says localhost.localdomain localhost

Also, at the shell screen it still says kenny@localhost

When I run the command hostname to get the output it does say fileserver.mydomain

What is going on?

I am running Redhat 8.0

 

 

 

 

Top