I can't say for sure, but I believe replication is not hostname dependant. Changing the hostname should not cause you any problems in this regard.