add hostname to server init