is it possible to change the hostname and name of a slave server to something else, is it just replacing the /etc/hosts, /etc/hostname and the database info and restart the servers
Yes, it's possible. I recommend using the user editor in phpmyadmin on the master to change the hostname of the ispcsrv* user of this node as the ispcsrv user permissions are split into various tables inside the mysql database and the user editor makes it easier than trying to find and change all permissions in the tables.
ok on db only place where domain name is locate is server table, for the ispcsrv you mean just use phpmyadmin to edit it? could i just create a new users or better to just edit them after i change host-name, host, MySQL tables, do i need to run update.sh to regenerate ssl
In ISPConfig database, yes. But I meant the MySQL 'mysql' database on the master server which contains the ispcsrv* users. Creating a new user is quite complicated due to the required permissions, so better edit them. But it might be that it also works when you just run ispconfig_update.shg --force and let the updater reconfigure permissions in master database. yes: ispconfig_update.sh --force