When I make changes to the host file do I need to logout or reboot in order for my changes to take effect. For example my current host file has the following:
127.0.0.1 localhost.localdomain localhost
I'm trying to change the alias to node1 by doing the following
127.0.0.1 node1.localdomain node1
Is this the correct way to change my alias and if so how to I get the changes to take effect?