change hostnames for db and app servers