change host name to ip in config file