How do I change the the name on the shell prompt

Hello

Does anyone know how to change the name for the shell prompt once you login to shell, I have multiple servers and want to keep track of each shell prompt since most of the time I have multiple prompts open on my computer and forger what server is what.

Right now it says

root@lt512

and I want it to say

root@server1

I have changed setting in the host file, but that does not work so I believe there is a shell program file that needs to be changed so I can customize what I am needing.

Any help would be greatful.

 

 

 

 

Top