Need to change domain - please help

Hi,

Can anyone show me step by step on which files to change the domain in a server (please dont tell me to reinstall as I made so much config on the current one, I need just to replicate it today to multiple servers)

Thanks